GRAPHQL / THE SHAPE OF FAILURE

One failed lookup.
How much disappears?

The inventory lookup for one product fails. That does not yet tell us which other values will survive.

The same three synthetic products pass through a real Apollo Gateway and three HTTP subgraphs. Compare the recorded responses from three choices of batch error handling and field nullability.

Recorded HTTP responses · Synthetic lookup failure · No live store

One valid query. Three failure boundaries.

Checking recording…

A visual reading of the recorded JSON response.

Where did the error land?

The failed lookup key is always demo-lamp. Error paths identify the affected response positions; they are not a count of independent root causes.

Inspect the gateway response

        

THE DECISION, AND ITS COST

Should product details survive an inventory failure?

Nullable availability keeps the name and price available, but the client must represent unknown inventory. With Availability!, every non-null product has an availability value. In this schema, an inventory failure instead makes the whole product null—including details that were fetched successfully.

Per-key errors keep the other keys useful when failures can be attributed to individual lookups. They cannot turn a failed database-wide request into trustworthy partial success. The error boundary has to match what the backend actually knows.

All three schemas compose, the query validates against each, and every response is HTTP 200. A client library may still discard partial data according to its own error policy. This experiment observes the gateway response, not a client library's rendering behavior.

Read the design and error-cache tradeoff →

From key to response path.

The source checker compares input keys, representations, batch keys, subgraph errors, gateway paths and preserved values. This page checks the published recording hash and derives its cards from that response. Neither check authenticates the recording host.

Raw recording SHA-256