Automagic TypeScript Codegen for GraphQL
summary
Claim: define only a GraphQL schema and scaffold a fully type-safe API layer for server and client. Uses GraphQL Code Generator plus Apollo server and client to emit schema defs, generated resolver types and front-end bindings that copy the schema to the client. Shows generated components and hooks and render-prop components that supply typed args, loading/error states and promise-returning mutations. Generated types catch mismatched resolver args and return shapes before runtime so the setup actually works.
AI-written summary · about
chapters (4)
related talks
25mType-safe GraphQL with TypeScript
09mThe new GraphQL Codegen
25mWeb applications of the future with TypeScript and GraphQL
27mThe ultimate GraphQL client development experience
57mType safe GraphQL with TypeScript
27mWeb applications of the future with TypeScript and GraphQL
30mReact Superpowers with GraphQL and TypeScript
07mManaging TypeScript and GraphQL types in Node
