This is a living list of helpful GraphQL articles which I started to help my coworker get used to GraphQL. Hope some readers find it useful!
Principles
- Some thoughts on GraphQL vs. BFF: On the tradeoff between the speed of BFF and the scale of GraphQL
- Is GraphQL Still Relevant in an HTTP2 World?: How GraphQL pieces together different ideas to create a great developer experience
Tools
- What is GraphQL Code Generator?: A primer into a popular code generator that generates Typescript types from GraphQL documents
- Introduction to Apollo GraphOS: Intro to the core pieces in federated GraphQL
- GraphQL without a server: How one can use Apollo Client without a GraphQL backend
- TypeGraphQL and GraphQL Nexus — A Look at Code-First APIs: A comparison between Schema-First and Code-First approaches when writing a GraphQL service
Schema Design
- GraphQL Mutation Design: Anemic Mutations: Avoid anemic mutations and create mutations for specific, purposeful behaviors
- GraphQL Schema Design: Building Evolvable Schemas: A guideline to avoid shooting ourselves on our feet
- GraphQL Best Practices: An official best practice guide. See the Nullability and Pagination sections
- Understanding pagination: REST, GraphQL, and Relay: Learn about the pagination problems that the Relay cursors solve.
- Explaining GraphQL Connections: Learn about the Relay cursor connections in depth, the de facto standard way to paginate in GraphQL.
- Enhancing GraphQL Schemas with Interfaces: How to express polymorphic objects in GraphQL
- 200 OK! Error Handling in GraphQL: How to model errors into the schema
- True Nullability Schema: The significance of “null” in GraphQL and how it’s evolving