GraphQL
Design and build GraphQL APIs: schemas in SDL, queries and mutations, resolvers without N+1 problems, client caching, pagination, security limits and schema evolution.
What you'll learn
- Explain how GraphQL differs from REST and when it is a good fit.
- Design schemas with types, inputs, enums, interfaces and unions in SDL.
- Write queries, mutations and subscriptions with variables, fragments and directives.
- Implement resolvers with context, authorisation and DataLoader batching.
- Use GraphQL from clients with caching and generated types.
- Secure, paginate, evolve and scale a GraphQL API in production.
Syllabus
GraphQL Foundations
Designing the Schema
- Object Types, Scalars and Nullability
- Query, Mutation and Subscription Types
- Enums, Interfaces, Unions and Inputs