πŸ•ΈοΈ API Patterns and Practices: GraphQL
Chapters Examples Bibliography GitHub β†—
Home / Why GraphQL & the Decision Lens
Part 1 2 chapters

Why GraphQL & the Decision Lens

Decide whether GraphQL fits an interaction and place it against REST and RPC for read-heavy, graph-shaped data.

Chapter 1

From REST/RPC to GraphQL

One client question answered by REST, gRPC and GraphQL, and the path a GraphQL request takes from a single HTTP POST through parse, validate and execute to one JSON response.

17 min readRead β†’
Chapter 2

The GraphQL decision framework

Seven axes for deciding whether an interaction belongs in GraphQL, REST or gRPC, applied to the shipping domain and closed by the Decision callout every later chapter reuses.

17 min readRead β†’
← Previous part Prerequisites & the Lab Next part β†’ The Schema: SDL & the Type System

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-10-17