Repository navigation
Upcoming Release Changes - #8599
Merged
Merged
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
github-actions
Bot
force-pushed
the
changeset-release/master
branch
11 times, most recently
from
October 26, 2026 03:09
ce62ee9 to
8fabaf5
Compare
enisdenjo
approved these changes
Oct 26, 2026
dotansimha
approved these changes
Oct 26, 2026
Collaborator
|
@ardatan can we merge and release? |
github-actions
Bot
force-pushed
the
changeset-release/master
branch
from
October 26, 2026 13:13
8fabaf5 to
78e5cf2
Compare
Contributor
Author
🚀 Snapshot Release (
|
| Package | Version | Info |
|---|---|---|
@graphql-tools/executor |
4.1.6-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-apollo-link |
3.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-envelop |
5.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-legacy-ws |
2.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-urql-exchange |
2.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-yoga |
5.0.1-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/graphql-tag-pluck |
9.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
graphql-tools |
10.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/import |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/jest-transform |
3.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/links |
11.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/load |
9.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/load-files |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/apollo-engine-loader |
9.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/code-file-loader |
9.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/external-fragment-loader |
1.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/git-loader |
9.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/github-loader |
10.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/graphql-file-loader |
9.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/json-file-loader |
9.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/module-loader |
9.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/url-loader |
10.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/merge |
10.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/mock |
10.1.2-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/node-require |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/relay-operation-optimizer |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/resolvers-composition |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/schema |
11.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/utils |
13.2.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/webpack-loader |
8.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/apollo-engine-loader |
9.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/code-file-loader |
9.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor |
4.1.6-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-apollo-link |
3.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-envelop |
5.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-legacy-ws |
2.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-urql-exchange |
2.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-yoga |
5.0.1-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/external-fragment-loader |
1.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/git-loader |
9.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/github-loader |
10.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/graphql-file-loader |
9.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/graphql-tag-pluck |
9.0.8-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/import |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/jest-transform |
3.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/json-file-loader |
9.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/links |
11.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/load |
9.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/load-files |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/merge |
10.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/mock |
10.1.2-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/module-loader |
9.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/node-require |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/relay-operation-optimizer |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/resolvers-composition |
8.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/schema |
11.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/url-loader |
10.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/utils |
13.2.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/webpack-loader |
8.1.0-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
graphql-tools |
10.0.7-rc-20261026131423-8fabaf53c1774b23fb7f57b7dadfe5d6b5213dac |
npm ↗︎ unpkg ↗︎ |
Contributor
Author
💻 Website PreviewThe latest changes are available as preview in: https://pr-8599.graphql-tools-8ja.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@graphql-tools/jest-transform@3.1.0
Minor Changes
#8605
ea2603aThanks @ardatan! -@graphql-tools/webpack-loader(and@graphql-tools/jest-transform, which calls it) now accepts more than one GraphQL operation in the same file and exports each named operation, matchinggraphql-tag/loader.A file with two mutations used to throw
GraphQL Webpack Loader allows only for one GraphQL Operation per file, so this import failed in webpack and Jest:The default export is still the whole document. Each named export is that operation plus the fragments it uses.
deleteMenuMutationincludesMenuFields;upsertMenuMutationdoes not.A single named operation is also exported under its name. Unnamed operations are still allowed when the file has only one operation. If the file has more than one operation, each operation must be named.
jest-transformnow passes the Jest source path and filesystem into the loader, soesModule: truecan emit named exports for operations and fragments pulled in with#import. CommonJS named exports use an own property so a GraphQL name of__proto__does not replace the export object's prototype.Patch Changes
ea2603a]:@graphql-tools/load@9.1.0
Minor Changes
#8603
62ef681Thanks @ardatan! - Custom loaders onloadDocuments/loadDocumentsSync/loadSchemacan now return an array. Each item is added as its own source.A pointer such as
src/**/*.{ts,tsx}calls the custom loader once. Returning a single combined document kept every operation on that one pointer. Returning an array was ignored, so the load failed withCouldn't find any GraphQL type definitions.The result is two sources:
Usersatusers.graphqlandOrdersatorders.graphql. A singleDocumentNodeor{ document }return value still becomes one source. An array ofDocumentNodes uses the pointer as each item's location.#8606
6da2904Thanks @ardatan! -loadDocuments/loadTypedefsnow accepterrorHandlingso a single invalid file does not have to hide the rest of the load.A glob that mixes a valid operation with broken SDL used to throw the first
Syntax Errorand drop every other file:errorHandlingchooses what happens next. The default is unchanged (throwthe first error).aggregatewaits until every source is attempted, then throwsAggregateErrorwith each parse/load failure:returndoes not throw. Failed sources stay in the result as{ location, error }without adocument, next to the sources that parsed:Sourcenow has an optionalerrorfield.@graphql-tools/graphql-file-loaderand@graphql-tools/code-file-loaderhonor the same option.CodeFileLoader's existingnoSilentErrorsdefault is unchanged unlesserrorHandlingis set.Custom loader failures and incomplete inline documents (
query Foo {) follow the same option.errorHandling: 'throw'raises the first failure, notAggregateError.#8602
46039a0Thanks @ardatan! -loadSchemaandloadSchemaSyncalready acceptsort: true. That always runs GraphQL'slexicographicSortSchema, which reorders the type list and also reorders fields, arguments, and enum values.A schema that was written with a meaningful enum or field order cannot keep that order after load:
This release adds
sortModeonLoadSchemaOptions.sort: truewith nosortMode, orsortMode: 'lexicographic', keeps the current behavior.sort: true, sortMode: 'typesOnly'sorts only the type list. Field and enum value order stay as they were loaded. If the same type is split across files, those members keep merge order instead of being sorted.sort: false(or omitted) ignoressortMode.Patch Changes
#8604
9df67b4Thanks @ardatan! -useCustomLoaderanduseCustomLoaderSyncnow include the original load failure in the thrown error message.A missing, broken, or non-function custom loader used to throw only:
The underlying
SyntaxError,Cannot find module, or "did not export a function" was swallowed, so codegen andloadDocumentscould not show why the file failed.getCustomLoaderByPathstill returnsnullwhen the file cannot be loaded.Updated dependencies [
6da2904,902d870,7770067,f956bfe]:@graphql-tools/code-file-loader@9.1.0
Minor Changes
#8606
6da2904Thanks @ardatan! -loadDocuments/loadTypedefsnow accepterrorHandlingso a single invalid file does not have to hide the rest of the load.A glob that mixes a valid operation with broken SDL used to throw the first
Syntax Errorand drop every other file:errorHandlingchooses what happens next. The default is unchanged (throwthe first error).aggregatewaits until every source is attempted, then throwsAggregateErrorwith each parse/load failure:returndoes not throw. Failed sources stay in the result as{ location, error }without adocument, next to the sources that parsed:Sourcenow has an optionalerrorfield.@graphql-tools/graphql-file-loaderand@graphql-tools/code-file-loaderhonor the same option.CodeFileLoader's existingnoSilentErrorsdefault is unchanged unlesserrorHandlingis set.Custom loader failures and incomplete inline documents (
query Foo {) follow the same option.errorHandling: 'throw'raises the first failure, notAggregateError.Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/graphql-file-loader@9.1.0
Minor Changes
#8606
6da2904Thanks @ardatan! -loadDocuments/loadTypedefsnow accepterrorHandlingso a single invalid file does not have to hide the rest of the load.A glob that mixes a valid operation with broken SDL used to throw the first
Syntax Errorand drop every other file:errorHandlingchooses what happens next. The default is unchanged (throwthe first error).aggregatewaits until every source is attempted, then throwsAggregateErrorwith each parse/load failure:returndoes not throw. Failed sources stay in the result as{ location, error }without adocument, next to the sources that parsed:Sourcenow has an optionalerrorfield.@graphql-tools/graphql-file-loaderand@graphql-tools/code-file-loaderhonor the same option.CodeFileLoader's existingnoSilentErrorsdefault is unchanged unlesserrorHandlingis set.Custom loader failures and incomplete inline documents (
query Foo {) follow the same option.errorHandling: 'throw'raises the first failure, notAggregateError.Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/utils@13.2.0
Minor Changes
#8606
6da2904Thanks @ardatan! -loadDocuments/loadTypedefsnow accepterrorHandlingso a single invalid file does not have to hide the rest of the load.A glob that mixes a valid operation with broken SDL used to throw the first
Syntax Errorand drop every other file:errorHandlingchooses what happens next. The default is unchanged (throwthe first error).aggregatewaits until every source is attempted, then throwsAggregateErrorwith each parse/load failure:returndoes not throw. Failed sources stay in the result as{ location, error }without adocument, next to the sources that parsed:Sourcenow has an optionalerrorfield.@graphql-tools/graphql-file-loaderand@graphql-tools/code-file-loaderhonor the same option.CodeFileLoader's existingnoSilentErrorsdefault is unchanged unlesserrorHandlingis set.Custom loader failures and incomplete inline documents (
query Foo {) follow the same option.errorHandling: 'throw'raises the first failure, notAggregateError.Patch Changes
#8588
7770067Thanks @ardatan! -rewireTypes(used bymapSchemaandaddTypes) now recreates only the types that actually reference a replaced type.mapSchemaalready changes just the mapped types.rewireTypesthen walked every type and built a newGraphQLObjectType/ enum / scalar so field pointers stayed consistent. That is correct, and it is overkill when a pipeline maps one type on a large schema: unrelated types, unused enums, and unused scalars were cloned on every pass.The crawl now finds types whose field, argument, interface, or union members point at a different object than the type map (including wrapper types created during mapping), then rebuilds only that set. Specified directives stay as-is. Types that do not reach a replacement keep the same JavaScript object.
createStubreturns the graphql-js specified scalars forString/ID/Int/Float/Booleaninstead of building an object or input with that name. StitchtypeFromASTusescreateStubfor every field type.#8608
f956bfeThanks @ardatan! -transformInputValuenow keeps falsy list items when GraphQL coerces a singleton into a list.A
[String]/[Int]/[Boolean]field can receive"",0, orfalseinstead of a one-element array. The previousasArrayhelper treated those as empty and produced[], so rename and other input transforms dropped a valid value.nullis still returned as-is. A real list is still walked item by item.@graphql-tools/webpack-loader@8.1.0
Minor Changes
#8605
ea2603aThanks @ardatan! -@graphql-tools/webpack-loader(and@graphql-tools/jest-transform, which calls it) now accepts more than one GraphQL operation in the same file and exports each named operation, matchinggraphql-tag/loader.A file with two mutations used to throw
GraphQL Webpack Loader allows only for one GraphQL Operation per file, so this import failed in webpack and Jest:The default export is still the whole document. Each named export is that operation plus the fragments it uses.
deleteMenuMutationincludesMenuFields;upsertMenuMutationdoes not.A single named operation is also exported under its name. Unnamed operations are still allowed when the file has only one operation. If the file has more than one operation, each operation must be named.
jest-transformnow passes the Jest source path and filesystem into the loader, soesModule: truecan emit named exports for operations and fragments pulled in with#import. CommonJS named exports use an own property so a GraphQL name of__proto__does not replace the export object's prototype.@graphql-tools/executor@4.1.6
Patch Changes
#8610
7832344Thanks @ardatan! - Use compact null-prototype maps for per-field execution results.executeFieldsandpromiseForObjectnow allocate result objects with a shared empty constructor thenObject.setPrototypeOf(..., null), instead ofObject.create(null). Dense responses create many of these maps; the named constructor gives V8 a reusable shape while keeping the same null-prototype semantics.Updated dependencies [
6da2904,7770067,f956bfe]:@graphql-tools/executor-apollo-link@3.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/executor-envelop@5.0.8
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/executor-legacy-ws@2.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/executor-urql-exchange@2.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/executor-yoga@5.0.1
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/graphql-tag-pluck@9.0.8
Patch Changes
6da2904,7770067,f956bfe]:graphql-tools@10.0.7
Patch Changes
902d870]:@graphql-tools/import@8.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/links@11.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/load-files@8.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/apollo-engine-loader@9.0.7
Patch Changes
#8598
38e7800Thanks @ardatan! -ApolloEngineLoadernow sendsoperationName: "GetSchemaByTag"in the GraphQL request body.The query was already named
GetSchemaByTag, but the POST body only hadqueryandvariables. Servers and Apollo Server plugins that require an operation name on the request (and read it from the JSON body, not the document) rejected this introspection call. The GitHub loader already sendsoperationNamethe same way.Updated dependencies [
6da2904,7770067,f956bfe]:@graphql-tools/external-fragment-loader@1.0.8
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/git-loader@9.0.8
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/github-loader@10.0.8
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/json-file-loader@9.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/module-loader@9.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/url-loader@10.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/merge@10.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/mock@10.1.2
Patch Changes
6da2904,902d870,7770067,f956bfe]:@graphql-tools/node-require@8.0.7
Patch Changes
62ef681,9df67b4,6da2904,46039a0,7770067,f956bfe]:@graphql-tools/relay-operation-optimizer@8.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/resolvers-composition@8.0.7
Patch Changes
6da2904,7770067,f956bfe]:@graphql-tools/schema@11.0.7
Patch Changes
#8601
902d870Thanks @ardatan! -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.
content: String!vscontent: Intthrows.title: String!vstitle: StringkeepsString!.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.Updated dependencies [
6da2904,7770067,f956bfe]: