@graphql-tools/delegate
12.3.4 · 12 Nov 2026MIT15.8M / weekRepositorynpmAtom feed
12.3.4 is the newest release of 12.x.
In short
1 new1 fixed
Release note
The section about @graphql-tools/delegate of a note shared by several packages.
@graphql-tools/delegate@12.1.0
Minor Changes
Automatically resolve plain merged-type references returned by local stitching resolvers
Local fields introduced through
typeDefsorresolversare wrapped bystitchSchemas. When they return a partial merged type containing a usable key, stitching performs one initial delegation with type merging enabled. The existing stitching planner then handles computed fields,@requiresdependencies, batching, nested entities, and fields owned by other subschemas.
Patch Changes
defaultMergedResolvernow falls back to the literal field name when an external object does not have the requested response keyPlain resolver data merged into an external object is keyed by field name, so an aliased request used to resolve to
nulleven though the value was there:{ person { fullName: name } }// merged object carries resolver data by field name { id: '1', name: 'Local' }Previously
fullNamewasnullbecause only the alias was looked up. Now it resolves to'Local'by field name, matching plain graphql-js behavior. When the response key is present (e.g. the field came from a subschema), it is still preferred.
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.