Packages

@graphql-tools/batch-delegate

10.1.7 · 20 Nov 2026MIT753.6k / weekRepositorynpmAtom feed

Your version

8.0.0

major28 Jul 2021Where it was published

8.4.27 is the newest release of 8.x.

In short

1 breaking1 internal

  • Breaking

    ExecutionParams type replaced by Request type

Release note

The section about @graphql-tools/batch-delegate of a note shared by several packages.

Major Changes

  • Breaking

    ExecutionParams type replaced by Request type

    rootValue property is now a part of the Request type.

    When delegating with delegateToSchema, rootValue can be set multiple ways:

    • when using a custom executor, the custom executor can utilize a rootValue in whichever custom
      way it specifies.

    • when using the default executor (execute/subscribe from graphql-js): -- rootValue can be passed
      to delegateToSchema via a named option -- rootValue can be included within a subschemaConfig --
      otherwise, rootValue is inferred from the originating schema

    When using wrapSchema/stitchSchemas, a subschemaConfig can specify the createProxyingResolver
    function which can pass whatever rootValue it wants to delegateToSchema as above.

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.