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/[email protected]
Major Changes
#4566
d8dc67aa
Thanks @ardatan! - ## Breaking changesSchema generation optimization by removing
transfomedSchema
parameterPreviously we were applying the transforms multiple times. We needed to introduced some breaking changes to improve the initial wrapped/stitched schema generation performance;
Transform.transformSchema
no longer acceptstransformedSchema
which can easily be created withapplySchemaTransforms(schema, subschemaConfig)
instead.createProxyingResolver
toSubschemaConfig
no longer takestransformedSchema
which can easily be created withapplySchemaTransforms(schema, subschemaConfig)
instead.stitchSchemas
doesn't take nested arrays of subschemasstitchSchemas
no longer accepts an array of arrays of subschema configuration objects. Instead, it accepts an array of subschema configuration objects or schema objects directly.stitchSchemas
no longer prunes the schema withpruningOptions
You can use
pruneSchema
from@graphql-tools/utils
to prune the schema instead.stitchSchemas
no longer respect "@computed" directive if stitchingDirectivesTransformer isn't appliedAlso
@graphql-tools/stitch
no longer exportscomputedDirectiveTransformer
anddefaultSubschemaConfigTransforms
.Instead, use
@graphql-tools/stitching-directives
package for@computed
directive.Learn more about setting it up
computedFields
has been removed from the merged type configurationMergeTypeConfig.computedFields
setting has been removed in favor of new computed field configuration written as:A field-level
selectionSet
specifies field dependencies while thecomputed
setting structures the field in a way that assures it is always selected with this data provided. TheselectionSet
is intentionally generic to support possible future uses. This new pattern organizes all field-level configuration (includingcanonical
) into a single structure.Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
8cc8721f
,e3167edc
]:@graphql-tools/[email protected]
Major Changes
#4463
8cc8721f
Thanks @ardatan! - Thanks @mattkrick and @borisno2!Breaking changes
addResolversToSchema
;If you are using the legacy parameters like below, you should update them to the new usage. Other than that, there is no functional change;
mergeSchemas
;The provided
resolver
overrides the resolvers in theschema
with the same name;The
hello
resolver in theschema
would be overridden by thehello
resolver in theresolvers
. Before it was opposite which is not expected.makeExecutableSchema
no longer takesparseOptions
and you can pass those options directly;makeExecutableSchema
no longer does pruning and it doesn't takepruningOptions
anymore.You can use
pruneSchema
from@graphql-tools/utils
if you need.extractExtensionsFromSchema
moved from@graphql-tools/merge
to@graphql-tools/schema
.And
travelSchemaPossibleExtensions
has been dropped in favor ofmapSchema
.Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Major Changes
#4566
d8dc67aa
Thanks @ardatan! - ## Breaking changesSchema generation optimization by removing
transfomedSchema
parameterPreviously we were applying the transforms multiple times. We needed to introduced some breaking changes to improve the initial wrapped/stitched schema generation performance;
Transform.transformSchema
no longer acceptstransformedSchema
which can easily be created withapplySchemaTransforms(schema, subschemaConfig)
instead.createProxyingResolver
toSubschemaConfig
no longer takestransformedSchema
which can easily be created withapplySchemaTransforms(schema, subschemaConfig)
instead.stitchSchemas
doesn't take nested arrays of subschemasstitchSchemas
no longer accepts an array of arrays of subschema configuration objects. Instead, it accepts an array of subschema configuration objects or schema objects directly.stitchSchemas
no longer prunes the schema withpruningOptions
You can use
pruneSchema
from@graphql-tools/utils
to prune the schema instead.stitchSchemas
no longer respect "@computed" directive if stitchingDirectivesTransformer isn't appliedAlso
@graphql-tools/stitch
no longer exportscomputedDirectiveTransformer
anddefaultSubschemaConfigTransforms
.Instead, use
@graphql-tools/stitching-directives
package for@computed
directive.Learn more about setting it up
computedFields
has been removed from the merged type configurationMergeTypeConfig.computedFields
setting has been removed in favor of new computed field configuration written as:A field-level
selectionSet
specifies field dependencies while thecomputed
setting structures the field in a way that assures it is always selected with this data provided. TheselectionSet
is intentionally generic to support possible future uses. This new pattern organizes all field-level configuration (includingcanonical
) into a single structure.Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
8cc8721f
,e3167edc
,d8dc67aa
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
,d8dc67aa
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
8cc8721f
,e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
,d8dc67aa
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
8cc8721f
,e3167edc
]:@graphql-tools/[email protected]
Patch Changes
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
,d8dc67aa
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
8cc8721f
,e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
8cc8721f
,e3167edc
,d8dc67aa
]:@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
,d8dc67aa
]:@graphql-tools/[email protected]
Patch Changes
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
@graphql-tools/[email protected]
Patch Changes
#4624
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
Updated dependencies [
e3167edc
]:@graphql-tools/[email protected]
Patch Changes
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
[email protected]
Patch Changes
e3167edc
]: