Skip to content
JS

Designing GraphQL Schemas

Course on egghead by Nik Graf

View on egghead (opens in a new tab)
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

Description from egghead

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

16 lessons
  1. 1Course Intro for Designing GraphQL Schemas
  2. 2Setup an Apollo GraphQL Server with automatic Mocking
  3. 3Kicking off a GraphQL Schema Design Process
  4. 4Naming Conventions for Query Fields in GraphQL
  5. 5When and Why to use Nullable vs Non-nullable Fields in GraphQL
  6. 6Evolving a GraphQL Schema incl. Breaking Changes without affecting a Single User
  7. 7Naming Conventions for Fields with GraphQL Aliases in Mind
  8. 8Paginate Entries using the Connection Specification
  9. 9Extending GraphQL Connections with additional Fields and Arguments
  10. 10Naming top-level Query Fields in GraphQL
  11. 11Mutation Input and Payload Structure in GraphQL
  12. 12Design GraphQL Mutations by focusing on the Domain rather than the Data Model
  13. 13Optimising GraphQL Mutations for Static Usage
  14. 14GraphQL Mutations to update Connections
  15. 15Tradeoffs when designing GraphQL Mutations to update multiple Properties on one Entity
  16. 16Course Outro for Designing GraphQL Schemas

Similar GraphQL courses

  1. GraphQL Query Language

    egghead · Eve Porcello · 19 lessons · 4.7 from 141 ratings · Jul 2019

    30 minSubscription
    egghead194.7 (141)Jul 2019
  2. Advanced GraphQL, v2

    Master.dev · Scott Moss · 28 lessons · Feb 2020

    3 h 26 minSubscription
    Master.dev28Feb 2020
  3. Introduction to GraphQL

    Master.dev · Scott Moss · 44 lessons · Jan 2019

    3 h 27 minSubscription
    Master.dev44Jan 2019
  4. Craft GraphQL APIs in Elixir with Absinthe

    Educative · The Pragmatic Programmers · 76 lessons · Sept 2026

    Intermediate10 h 30 minSubscription
    Educative76Sept 2026
  5. A Practical Guide to GraphQL: From the Client Perspective

    Educative · Robin Wieruch · 59 lessons · Apr 2026

    Intermediate20 hSubscription
    Educative59Apr 2026
  6. Advanced GraphQL for Developers: Optimize & Scale Modern API

    Coursera · Board Infinity, Mohd Faisal Ansari · Jun 2025

    Advanced
    CourseraJun 2025
  7. GraphQL API Development: Schema Design,Security & Deployment

    Coursera · Board Infinity, Mohd Faisal Ansari · Jun 2025

    Intermediate
    CourseraJun 2025
  8. GraphQL Fundamentals–Design APIs,Schema,Frontend Integration

    Coursera · Board Infinity, Mohd Faisal Ansari · Jun 2025

    Beginner
    CourseraJun 2025

A hyphen means the provider's catalogue does not state the value.

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.

    Compare