Design Graphql Schemas Workshop
Setup
yarn install # or npm install
yarn start
In index.js
you can change the imports to import the respective lesson.
Visit http://localhost:4000
to see GraphiQL.
How it works
For every lesson there is a folder. It includes a README.md with notes. Some of them contain an exercise at the end of the lesson.
Process for every lesson:
- Presentation by Nik
- Q&A
- Exercise (not every lesson has one)
- Break
Lessons
- Setup
- Design Process (+ exercise)
- Naming Fields (+ exercise)
- Nullable Fields (+ exercise)
- Nullability for Lists
- Breaking Changes without affecting Users
- Aliases and how they impact naming (+ exercise)
- Connections incl. Cursors (+ exercise)
- Extending Connections
- Naming Queries
- Mutation Payload
- Naming and structuring Mutations
- Mutations for Connections (+ homework)
- Tradeoffs when designing GraphQL Mutations to update multiple Properties on one Entity