liveBook · Manning

GraphQL

GraphQL is a query language and execution specification for APIs that lets clients request and manipulate data through a schema.

How 6 Manning books explain it

Building Web APIs with ASP.NET Core

GraphQL is a data query and manipulation language for APIs that lets clients specify the data fields they require.

How it is used
Uses GraphQL to retrieve client-selected API data through one endpoint as an alternative to REST’s fixed responses and multiple round trips.
How deep it goes
Explains field selection, runtime processing, and caching, performance, and complexity trade-offs without detailing the runtime’s internals.
Examples
Uses a board-game query that filters names, sorts and limits results, and selects game and related-entity fields.
What you can do after
Apply it via BananaCakePop to test a GraphQL query for precisely selected board-game data.

Read how Building Web APIs with ASP.NET Core explains GraphQL →

Digital Twins in Action

GraphQL is a query language and runtime for APIs that lets clients specify the fields and shape of the response they require.

How it is used
Exposes selected data across connected digital-twin entities through client-defined API queries.
How deep it goes
Works through relationship queries, a typed home schema, a small server, and dashboard consumption; does not examine GraphQL execution internals.
Examples
Uses a second-floor temperature query, a weather API combining two REST calls, and kitchen-voltage visualization.
What you can do after
Build it from scratch with Graphene and Flask, then apply it via Grafana’s Infinity data source for a home-twin dashboard.

Read how Digital Twins in Action explains GraphQL →

Quarkus in Action

GraphQL is a query language and runtime for APIs that lets clients request precisely the data they need.

How it is used
Reduces overfetching, underfetching, requests, and network traffic when clients need precise API responses.
How deep it goes
Defines schemas and demonstrates a code-first Quarkus service, while deferring persistent storage and broader production concerns.
Examples
Uses a Quarkus car inventory with Java models, an in-memory database stub, a cars query, and register and remove mutations.
What you can do after
Build a code-first GraphQL API in Quarkus using SmallRye GraphQL annotations and Java-backed data.

Read how Quarkus in Action explains GraphQL →

Contract Testing in Action

GraphQL is a query language and runtime for APIs that lets clients request structured data through a typed schema.

How it is used
Supports flexible API consumption and contract testing between consumers and a GraphQL layer.
How deep it goes
Explains response shaping, SDL, resolvers, and Apollo integration, but defers broader frontend and backend integration details.
Examples
Uses a movie landing page, Movie SDL type, movie resolver, Apollo application, and single-query versus multi-request comparison.
What you can do after
Apply GraphQL through Apollo tools and evaluate consumer data needs, invalid queries, output changes, and response status behavior.

Read how Contract Testing in Action explains GraphQL →

The Art of Code

A query language and runtime for APIs that lets clients specify the fields they need.

How it is used
Reduces API bandwidth by letting clients request only the fields required by each page.
How deep it goes
Explains selective field retrieval as a design technique but stops short of query syntax or runtime implementation.
Examples
Uses a customer profile payload and contrasts full search data with report fields such as name and order count.
What you can do after
Apply GraphQL to request narrower API responses and reduce unnecessary data transfer.

Read how The Art of Code explains GraphQL →

Django in Action

GraphQL is a query language and API runtime in which clients specify the data and operations they want through a schema-defined query.

How it is used
Provides a schema-driven alternative to REST for flexible client queries through one API endpoint.
How deep it goes
Explains the endpoint, schemas, ORM mapping, and query classes, but stops short of detailed implementation or query syntax.
Examples
Uses Graphene schemas, query classes, GraphQLView registration, and selectively requested object fields as concrete artifacts.
What you can do after
Evaluate GraphQL architecture and identify how a Django API exposes schemas, operations, and client-selected responses.

Read how Django in Action explains GraphQL →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.