Welcome to the Wonderful World of GraphQL
summary
An introduction to GraphQL for Android covering basics, common pitfalls, and tooling. Discusses using GraphiQL for live queries and docs, Relay-style pagination with connections/edges/totalCount, awkwardness of file uploads and mutations versus REST, and an Apollo Android code-generation workflow that requires .graphql files to produce typed request/response classes. Advocates schema-driven development to share types and generate safe client models.
AI-written summary · about
chapters (14)
- 0:00GraphQL intro
- 1:55Schema-driven dev
- 5:47GraphQL features
- 8:44GitHub GraphQL examples
- 12:02Request/response structure
- 15:36Relay server spec
- 17:02Connections and pagination
- 20:22Query design guidelines
- 21:53GraphQL for Android
- 23:23Apollo Client on Android
- 25:59Relay with React Native
- 27:28Android data models
- 28:56REST vs GraphQL
- 30:29Summary
related talks
43mExploring GraphQL on Android
24mGraphQL in Android
36mImplementing an Android client that brings out GraphQL’s strengths
54mTake Control Of Your APIs With GraphQL
37mGraphQL on Android is here!
03h 00mUnderstanding GraphQL
39mOur ongoing journey from REST to GraphQL on Android
47mGraphQL: How to Persuade the Server to Fit the App
