@graphql-tools/schema
11.0.9 · 10 Nov 2026MIT24.6M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 132 releases- 11.x · latest line
11.0.8 – 11.0.92 releases that only update dependencies@graphql-tools/utils 13.2.2@graphql-tools/merge 10.0.9Show each
11.0.7
26 Oct 2026mergeSchemasandmakeExecutableSchemanow acceptonFieldTypeConflict, the same callbackmergeTypeDefsalready had.When two schemas define the same field with different types, default merge throws. When only nullability differs, it keeps the earlier type.
# first schema type Post { id: ID! title: String! content: String! published: Boolean! } # second schema type Post { id: ID! title: String content: Int fieldA: Int fieldB: String }content: String!vscontent: Intthrows.title: String!vstitle: StringkeepsString!.mergeSchemas({ schemas: [firstSchema, secondSchema], onFieldTypeConflict: (_existing, incoming) => incoming, });The merged
Posttakestitle: Stringandcontent: Intfrom the second schema, keepspublishedfrom the first, and addsfieldA/fieldB. Types that exist on only one schema, such asUseron the first, stay.The same callback applies to field arguments. Returning the incoming field uses the second schema's argument types and still keeps arguments that exist on only one side. Returning the existing field with
reverseArguments: truekeeps the first schema's argument types and still appends new arguments.
Patch Changes
mergeSchemasandmakeExecutableSchemanow acceptonFieldTypeConflict, the same callbackmergeTypeDefsalready had.When two schemas define the same field with different types, default merge throws. When only nullability differs, it keeps the earlier type.
# first schema type Post { id: ID! title: String! content: String! published: Boolean! } # second schema type Post { id: ID! title: String content: Int fieldA: Int fieldB: String }content: String!vscontent: Intthrows.title: String!vstitle: StringkeepsString!.mergeSchemas({ schemas: [firstSchema, secondSchema], onFieldTypeConflict: (_existing, incoming) => incoming, });The merged
Posttakestitle: Stringandcontent: Intfrom the second schema, keepspublishedfrom the first, and addsfieldA/fieldB. Types that exist on only one schema, such asUseron the first, stay.The same callback applies to field arguments. Returning the incoming field uses the second schema's argument types and still keeps arguments that exist on only one side. Returning the existing field with
reverseArguments: truekeeps the first schema's argument types and still appends new arguments.
11.0.6
22 Oct 2026requireResolversForArgs(and the other resolver-presence checks) now look forsubscribeon the schema's subscription type.On subscriptions,
subscribeis required andresolveis optional. The validator used to look only atfield.resolve, so a subscription with arguments was reported as missing even whensubscribewas present. Query and mutation fields still requireresolve.
Patch Changes
requireResolversForArgs(and the other resolver-presence checks) now look forsubscribeon the schema's subscription type.On subscriptions,
subscribeis required andresolveis optional. The validator used to look only atfield.resolve, so a subscription with arguments was reported as missing even whensubscribewas present. Query and mutation fields still requireresolve.
Dependency tracking · free for 3 projects
Know when your own dependencies move
@graphql-tools/schema shipped a new major in the last 12 months, among 25 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 11 Nov 2026. Releases and advisories last read 11 Nov 2026.