~/talk

Migrating to GraphQL on Android with Apollo

Talkat Android Worldwide October 2022 · on Tuesday, 2022-10-25· [android, graphql]
links:none on file
slides:none on file

Pinterest migrates roughly 878 Android endpoints and about 5,800 migrated fields to GraphQL using Apollo Kotlin, with three engineers supporting 459 million monthly users. Client surfaces run full GraphQL logic, using a normalized cache and a “god query” that lets a single converter map normalized Apollo entries back to legacy REST models, so UI cache watchers get automatic updates. The approach reduces many converters and works in practice, though end‑to‑end Apollo→Apollo notification wiring stays manual for developers.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06What is GraphQL
  3. 3:11GraphQL schema basics
  4. 5:16Pinterest’s migration overview
  5. 7:25REST to GraphQL challenges
  6. 9:33First migration approach
  7. 11:20Why abstraction failed
  8. 12:44Apollo Kotlin architecture
  9. 13:47Normalized cache
  10. 16:34God queries and cache
  11. 18:20REST/GraphQL converters
  12. 20:46GraphQL to REST reverse
  13. 23:19Future plans
  14. 24:45Q&A
~/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.