Packages

@graphql-tools/schema

11.0.9 · 10 Nov 2026MIT24.6M / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade

Latest releases

All 132 releases
  1. 11.x · latest line
  2. 11.0.8 – 11.0.92 releases that only update dependencies@graphql-tools/utils 13.2.2@graphql-tools/merge 10.0.9Show each
  3. 11.0.7

    26 Oct 2026
    • mergeSchemas and makeExecutableSchema now accept onFieldTypeConflict, the same callback mergeTypeDefs already 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! vs content: Int throws. title: String! vs title: String keeps String!.

      mergeSchemas({
        schemas: [firstSchema, secondSchema],
        onFieldTypeConflict: (_existing, incoming) => incoming,
      });

      The merged Post takes title: String and content: Int from the second schema, keeps published from the first, and adds fieldA / fieldB. Types that exist on only one schema, such as User on 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: true keeps the first schema's argument types and still appends new arguments.

  4. 11.0.6

    22 Oct 2026
    • requireResolversForArgs (and the other resolver-presence checks) now look for subscribe on the schema's subscription type.

      On subscriptions, subscribe is required and resolve is optional. The validator used to look only at field.resolve, so a subscription with arguments was reported as missing even when subscribe was present. Query and mutation fields still require resolve.

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.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 11 Nov 2026. Releases and advisories last read 11 Nov 2026.