Shopify's March 12 Cardinal engineering account tackles work left behind after database lookups have been batched. High-fanout GraphQL responses still repeat authorization, tracing and resolver machinery for each object. In a no-I/O comparison of 1,000 lazy fields with equivalent non-lazy fields, graphql-batch was about 2.5 times slower.
Cardinal builds a typed tree of scopes and fields, plans preloads bottom-up, then executes top-down in breadth groups. A resolver receives a set of objects; fields sharing I/O can bind that set to one promise. The response hashes are assembled in place as the next scope is queued.
Migration has costs. An adapter let legacy single-object resolvers run while teams translated fields, initially increasing memory. Broader error handling is less surgical, and per-field timing changes when one breadth duration is averaged across objects. At publication, the core stack used Cardinal while tens of thousands of field translations remained in progress.