@graphql-tools/delegate
12.3.4 · 12 Nov 2026MIT15.8M / weekRepositorynpmAtom feed
12.3.4 is the newest release of 12.x.
In short
2 fixed
Release note
The section about @graphql-tools/delegate of a note shared by several packages.
@graphql-tools/delegate@12.3.1
Patch Changes
Deliver forwarded
@deferpatches for nested list items and avoid recursion throughwrapSchemaover a stitched schemaWhen a subschema has
defer: true, deferred fields inside list items were resolved asnull:IncrementalReceiverdid not merge patches into existing list items (including nested lists), and when the subgraph sent several patches in one chunk, every re-emitted patch carried the chunk'shasNext: false, so only the first one was applied.Without
defer: true, a deferred field owned by another inner subschema underwrapSchemaover a stitched schema calleddefaultMergedResolveron the nested schema with the same parent and recursed. Re-fetch via the nested merged-type resolver for the field owner instead.Settle unsatisfiable stitched leftover fields instead of hanging
When a merged field could only be fetched with a merge key that never
arrived, leftover resolution returned a deferred promise that never
settled and the request hung idle. Track leftover work and, once the
queue is empty, reject unsettled deferreds withSATISFIABILITY_ERROR
(Apollo composition-style message, including selection snippet and
subschema names when set).Closes #2695
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.