πŸ•ΈοΈ API Patterns and Practices: GraphQL
Home Chapters Examples Diagrams Bibliography GitHub β†—
Home / Execution: Resolvers, Queries & Mutations
Part 3 3 chapters

Execution: Resolvers, Queries & Mutations

Explain how a query is parsed, validated and executed, and implement queries, resolvers and mutations in both stacks.

Chapter 6

The execution model

What happens between a POST to /graphql and the JSON that comes back: parse, validate, coerce variables, then walk the selection set. Sibling fields run together, top-level mutation fields run one at a time, and both stacks' source-call logs show it.

13 min readRead β†’
Chapter 7

Queries and resolvers

What a resolver receives and returns, how a parent value becomes a child's argument and then a source key, how Delivery is derived from handling events, and how variables, aliases, fragments and @include and @skip change which sources a query calls.

13 min readRead β†’
Chapter 8

Mutations and input types

registerHandlingEvent takes a typed input object, rejects malformed input as a request error and broken domain rules as userErrors data, returns the event with a recomputed delivery, runs aliased mutation fields in order, and stays safe to retry with an idempotency key.

12 min readRead β†’
← Previous part The Schema: SDL & the Type System Next part β†’ Reliability: Errors & Partial Results

API Patterns and Practices: GraphQL

Designing GraphQL APIs well, with runnable examples in Quarkus SmallRye GraphQL and Python Strawberry against one canonical SDL contract.

Site

  • Outline
  • Bibliography

Reference

  • GraphQL β†—
  • GraphQL specification β†—
  • SmallRye GraphQL β†—
  • Strawberry β†—
  • View on GitHub β†—
  • Issues β†—
Open source Β· MIT Last built 2026-11-11