@graphql-tools/stitch
10.4.4 · 12 Nov 2026MIT546k / weekRepositorynpmAtom feed
10.4.4 is the newest release of 10.x.
In short
1 new1 fixed3 internal
Release note
The section about @graphql-tools/stitch of a note shared by several packages.
@graphql-tools/stitch@10.2.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
Fields that are not provided by any subschema (added through
typeDefsorresolvers) can now return partial objects of merged types; the missing fields are resolved from the owning subschema automaticallytype Query { personCreated: PersonCreated } type PersonCreated { person: Person # merged type, owned by a subschema cursor: String }const resolvers = { Query: { // only the key of `Person` is provided locally personCreated: () => ({ person: { id: '1' }, cursor: 'c1' }), }, };Before,
personhad to be resolved manually even though the stitched schema knowsPersonand its keys. Now the key is enough:{ person { name } }runs through the standard stitching planner, while local data (cursor) and local field resolvers onPersonkeep working as before. Computed fields,@requiresdependencies, batching, and fields from other subschemas use the same type-merging flow as regular delegated results.
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.