
REST to GraphQL Migration

Building Reddit’s iOS and Android app
Topic 7 of 12
Published Apr 23, 2025 · Clip 33:52–43:16 (9:24)
The guests discuss the REST-to-GraphQL migration. GraphQL provided explicit contracts and type safety over aging REST endpoints, enabled codegen, and even helped incident response—named GraphQL requests revealed which platform a bug affected. Eric admits the initial approach was naive: a 1:1 mapping of flat REST models to GraphQL yielded little real type safety, left too much logic in clients, and caused overfetching. Lori explains the initial GraphQL implementation had a latency tax, so the main clients migrated later after collaborating with the backend GraphQL team to make it performant. The web team started the migration, backend GraphQL engineers drove adoption, and most new hires arrived with REST backgrounds and had to learn idiomatic GraphQL.