~/talk

Our ongoing journey from REST to GraphQL on Android

Talkat Droidcon London 2023 · 2023-10-26..10-27· [graphql]
slides:none on file

Migration moves Heroku from REST to a GraphQL API built on AWS AppSync with the Android client using Apollo Kotlin, separate OkHttp clients, Dagger Hilt lazy injection and Chuck for request inspection. Nested queries originally cause 7–10 seconds responses until backend SQL/index changes or schema fields (e.g. lastMessage) are added. Subscriptions require custom token/ reconnect handling — a contributed Apollo fix — and error handling is fragmented, so CI-driven schema automation and close backend collaboration are critical.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:11What is GraphQL
  3. 3:17Why migrate to GraphQL
  4. 5:03Underlying technologies
  5. 7:29Setting up Apollo Kotlin
  6. 15:25Lessons learned from migration
  7. 22:51Nested queries and performance
  8. 25:38Challenges with subscriptions
  9. 31:36Error handling differences
  10. 33:47Schema automation in CI
  11. 37:21Key takeaways and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.