Packages

@graphql-tools/delegate

12.3.4 · 12 Nov 2026MIT15.8M / weekRepositorynpmAtom feed

Your version

12.3.1

28 Oct 2026Where it was published

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 @defer patches for nested list items and avoid recursion through wrapSchema over a stitched schema

    When a subschema has defer: true, deferred fields inside list items were resolved as null: IncrementalReceiver did 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's hasNext: false, so only the first one was applied.

    Without defer: true, a deferred field owned by another inner subschema under wrapSchema over a stitched schema called defaultMergedResolver on 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 with SATISFIABILITY_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.