iOS × GraphQLの嬉しみとつらみの感想

kameike
kameike
Sep 2, 2018 · 2 min read

https://drive.google.com/file/d/1sz7kW_S0j0zG3lY4LtsBOyTEEQBlLvZT/view の感想とメモです。

@_mogaminga さんのトークです

kameikeの事前状態

  • GraphQL触ったことない
  • BFFとかも経験なし

参考になったことや感想

  • GraphiQLを使うと型等が見れる。学習のサイクルをあげて、めっちゃ便利そうなやつ。
  • githubが準拠しているのでsandboxとして良さそう
  • サーバー側から型とかの説明が降ってくる。
  • enumがあるのswiftエンジニアにとって垂涎もの
  • ページングなんとかしてくれる型 ConnectionTypeがある
  • 例えばrubyで宣言的に書くことができる
  • iOSではApollo iOSというものが便利

ツラミのメモ

  • errorHandlingが辛い
  • N+1とか大変そう。チューニングが暗黙的そう
  • クエリの一部成功、一部失敗が起きうる
  • 404とかでもstatusCodeが200で返ってくる(文法があってると200)
  • Mutationに一工夫必要

私的な感想や感情

  • とりあえず試してみたい。brew cask install GraphiQLでなんとかなったので、githubでさわってみる
  • ポンポコやっていきたい
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade