graphql-middleware
graphql-middleware copied to clipboard
fix(deps): update graphql-tools monorepo to v9 (major)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@graphql-tools/delegate | ^8.8.1 -> ^9.0.6 |
||||
@graphql-tools/schema | ^8.5.1 -> ^9.0.4 |
Release Notes
ardatan/graphql-tools (@graphql-tools/delegate)
v9.0.6
Patch Changes
- Updated dependencies [
43c736bd
]:
v9.0.5
Patch Changes
v9.0.4
Patch Changes
- Updated dependencies [
4fe3d9c0
]:
v9.0.3
Patch Changes
v9.0.2
Patch Changes
v9.0.1
Patch Changes
- Updated dependencies [
2609d71f
]:
v9.0.0
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. - Proxying resolver factory function that is passed as
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 upcomputedFields
has been removed from the merged type configurationMergeTypeConfig.computedFields
setting has been removed in favor of new computed field configuration written as:merge: { MyType: { fields: { myComputedField: { selectionSet: '{ weight }', computed: true, } } } }
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
ardatan/graphql-tools (@graphql-tools/schema)
v9.0.4
Patch Changes
- Updated dependencies [
43c736bd
]:
v9.0.3
Patch Changes
v9.0.2
Patch Changes
- Updated dependencies [
4fe3d9c0
]:
v9.0.1
Patch Changes
-
#4643
2609d71f
Thanks @ardatan! - Revert the breaking change introduced in@graphql-tools/merge
-
Updated dependencies [
2609d71f
]:
v9.0.0
Major Changes
-
#4463
8cc8721f
Thanks @ardatan! - Thanks @mattkrick and @borisno2!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.