Designing GraphQL Schemas
Course on egghead by Nik Graf
- 57 min
- LengthVideo runtime
- Subscription
- Price modelegghead plan
- 16
- Lessons
- 4.3
- Rating out of 513 ratings on egghead
- Dec 2019
- Published14 Dec 2019
About this course
GraphQL brings joy to using APIs. Even though it's based on a type system, GraphQL in many ways is more flexible than REST. But the flexibility that makes GraphQL a joy to work with can have its downsides if you aren't careful. Schema design is an area where one small oversight at the beginning can get you stuck having to deal with weird naming, bloated duplicates, and other annoying workarounds. It doesn't have to be like this! Nik Graf has extensive experience designing GraphQL schemas, for a variety of business applications. In this course, Nik has prepared several examples following different design patterns. Through exploration and comparison, you'll come away with actionable knowledge for designing and extending schemas. Follow Nik, and avoid making Schema mistakes that will come back to bite you later.
What it covers
- 1Course Intro for Designing GraphQL Schemas
- 2Setup an Apollo GraphQL Server with automatic Mocking
- 3Kicking off a GraphQL Schema Design Process
- 4Naming Conventions for Query Fields in GraphQL
- 5When and Why to use Nullable vs Non-nullable Fields in GraphQL
- 6Evolving a GraphQL Schema incl. Breaking Changes without affecting a Single User
- 7Naming Conventions for Fields with GraphQL Aliases in Mind
- 8Paginate Entries using the Connection Specification
- 9Extending GraphQL Connections with additional Fields and Arguments
- 10Naming top-level Query Fields in GraphQL
- 11Mutation Input and Payload Structure in GraphQL
- 12Design GraphQL Mutations by focusing on the Domain rather than the Data Model
- 13Optimising GraphQL Mutations for Static Usage
- 14GraphQL Mutations to update Connections
- 15Tradeoffs when designing GraphQL Mutations to update multiple Properties on one Entity
- 16Course Outro for Designing GraphQL Schemas
Similar GraphQL courses
Same topic, nearest in length, up to three from any one provider.
Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.