Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
KotshiからMoshi-codegenに 乗り換えた経緯
Search
えぐ
June 21, 2018
0
2.4k
KotshiからMoshi-codegenに 乗り換えた経緯
Potatotips #52の発表です
えぐ
June 21, 2018
Tweet
Share
More Decks by えぐ
See All by えぐ
Annotationを利用した現在時刻のテスト
egugue
0
870
エンジニアにしてもよいこと エンジニアからお願いしたいこと
egugue
0
180
コードで事前条件を表明する
egugue
3
3.5k
Backends for Frontends を適用した話
egugue
1
1.2k
FlexboxLayoutの紹介
egugue
2
330
Robolectricの @Configを共通化する方法
egugue
0
850
Featured
See All Featured
Done Done
chrislema
184
16k
Making Projects Easy
brettharned
116
6.3k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Speed Design
sergeychernyshev
32
1k
We Have a Design System, Now What?
morganepeng
53
7.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
24k
A Modern Web Designer's Workflow
chriscoyier
694
190k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Transcript
Kotshi͔ΒMoshi-codegenʹ Γ͑ͨܦҢ Potatotips#52 2018/6/21
ࣗݾհ • ֎ࢁ ࣏༝ (@duane0728) • גࣜձࣾ FOLIO
FOLIOͷݱঢ়ͷ֬ೝ
https://bit.ly/2HY1CEi
https://bit.ly/2HY1CEi
FOLIOͷݱঢ় Moshi + Kotshi
Moshi-codegenϞδϡʔϧ
None
Moshi-codegenͱKotshi ͲͪΒΛબͿ͔
Moshi-codegenͱKotshiͲͪΒΛબͿ͔ • • ҆ఆੑ • কདྷੑ
• KotshiΛ͍ͬͯΔཧ༝ͳͷͰɺ ͜Εམͱͨ͘͠ͳ͍ • ͳͷͰͷݕূΛߦͬͨ Moshi-codegenͱKotshiͲͪΒΛબͿ͔
Moshi codegen (1.6) Kotshi (1.0.4) Essential Phone 56 55
Nexus 5X 579 592 0.2MBͷjsonͷύʔεΛ 20ճߦͬͨ࣌ؒͷฏۉmsec Moshi-codegenͱKotshiͲͪΒΛબͿ͔
Moshi-codegenͱKotshiͲͪΒΛબͿ͔ • • ҆ఆੑ • কདྷੑ େࠩͳ͠
҆ఆੑ Moshi-codegenͱKotshiͲͪΒΛબͿ͔ • issueͰόά͕ͳ͍͔ݟ͍ͯͨͱ͜Ζɺ Moshi-codegenͰେ͖ͳόάΛൃݟ https://github.com/square/moshi/issues/578
None
҆ఆੑ • Moshi-codegenͰେ͖ͳόάΛൃݟ https://github.com/square/moshi/issues/578 • ͨͩ࠷৽1.0.4ͷKotshiͰಉ͡όά͕ى͖͍ͯΔ Moshi-codegenͱKotshiͲͪΒΛબͿ͔ ※FOLIOͰόά͕ى͖ͯɺ Ϋϥογϡͤͣɺ͔ͭFOLIOଆͰݕɾमਖ਼͕Մೳ
Moshi-codegenͱKotshiͲͪΒΛબͿ͔ • • ҆ఆੑ • কདྷੑ େࠩͳ͠ େࠩͳ͠
কདྷੑ • Moshi-codegenMoshiຊՈ͕Φʔφʔ • ઌఔͷόάMoshi-codegen࣍ͷ1.7Ͱमਖ਼༧ఆ • KotshiͷissueͰʮKotshiকདྷdeprecatedʹͳΔ͔ʯͱ ࡞ऀ͕ݴٴ (https://github.com/ansman/kotshi/issues/92) Moshi-codegenͱKotshiͲͪΒΛબͿ͔
Moshi-codegenͱKotshiͲͪΒΛબͿ͔ • • ҆ఆੑ • কདྷੑ Moshi-codegenͷํ্͕ େࠩͳ͠ େࠩͳ͠
Ҏ্3ͭͷ؍ΑΓ Kotshi͔ΒMoshi-codegenʹΓܾ͑ఆ
͜Ε͔ΒMoshi-codegenΛಋೖ͢ΔͳΒ • kotshiಋೖ͍ͯ͠ͳ͍߹ • ࠷ॳ͔ΒMoshi-codegenͷ΄͏͕ྑͦ͞͏ • ͨͩ͠ɺ·ͩख़͖͍ͬͯ͠ͳ͍ͷͰissueνΣοΫ • KotshiΛಋೖࡁΈͷ߹ •
Moshi-codegen1.7͕ग़Δ·ͰແཧʹΓ͑Δඞཁͳͦ͞͏
͋Γ͕ͱ͏͍͟͝·ͨ͠