fix(deps): update graphql-tools monorepo #15
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 contains the following updates:
6.0.18
->6.6.1
6.0.18
->6.2.17
6.0.18
->6.2.4
Release Notes
ardatan/graphql-tools (@graphql-tools/load-files)
v6.6.1
Compare Source
Patch Changes
e3167edc
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution with
moduleResolution
node16
ornodenext
v6.6.0
Compare Source
Minor Changes
d76a299
: Support TypeScript module resolution.v6.5.4
Compare Source
Patch Changes
041c5ba
: Use caret range for the tslib dependencyv6.5.3
Compare Source
Patch Changes
525e391
: fix(load-files): use createRequire in case of ESMv6.5.2
Compare Source
Patch Changes
4bfb342
: enhance: use ^ for tslib dependencyv6.5.1
Compare Source
Patch Changes
1043219
: fix implicit dependenciesv6.5.0
Compare Source
Minor Changes
eb80821
: enhance(load-files): return DocumentNode if it is an SDLv6.4.0
Compare Source
Minor Changes
c5b0719
: feat: GraphQL v16 supportv6.3.2
Compare Source
Patch Changes
7c6e008
: Remove duplicate codev6.3.1
Compare Source
Patch Changes
61889f2
: fix(load-files): respect ignoredExtensions even if there is a specific file globv6.3.0
Compare Source
Minor Changes
efe8b8a
: feat(load-files): ability to provide a custom extractExportsv6.2.7
Compare Source
Patch Changes
a2e7ff7
: Allow extensions and ignoredExtensions options to have a trailing dotv6.2.6
Compare Source
Patch Changes
5c7a20d
: fix(load-files): fix ignored file bug when filename finishes with extensionv6.2.5
Compare Source
Patch Changes
eacf0dc
: Replace fs-extra with native methodsv6.2.4
Compare Source
Patch Changes
533d6d5
: Bump all packages to allow adjustmentsv6.2.3
Compare Source
What’s Changed
🚀 Features
v6.2.2
Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.1
Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.0
Compare Source
What’s Changed
🚀 Features
🐛 Bug Fixes
v6.1.0
Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
ardatan/graphql-tools (@graphql-tools/merge)
v6.2.17
Compare Source
Patch Changes
0483004
]v6.2.16
Compare Source
Patch Changes
b823dba
]v6.2.15
Compare Source
Patch Changes
a31f959
: fix(merge): handle schema definitions correctlyaf9a78d
]9c26b84
]7d3e300
]7d3e300
]dae6dc7
]6877b91
]7d3e300
]c42e811
]7d3e300
]8c8d4fc
]7d3e300
]7d3e300
]7d3e300
]74581cf
]c0ca319
]7d3e300
]982c8f5
]7d3e300
]7d3e300
]7d3e300
]v6.2.14
Compare Source
Patch Changes
eae2879
: fix(merge): handle undefined interfaces array on ObjectTypeDefinitionNode #2629v6.2.13
Compare Source
Patch Changes
60a9c9a
: fix(merge): handle arrays correctlyv6.2.12
Compare Source
Patch Changes
6894666
: fix(merge): fix handling schema definitions with convertExtensions flagv6.2.11
Compare Source
Patch Changes
43da6b5
: enhance(merge): reduce number of iterations58fd4b2
]43da6b5
]v6.2.10
Compare Source
Patch Changes
0194118
: Introduces a suite of stitched schema validations that enforce the integrity of mergedschemas. This includes validations for:
Validations may be adjusted by setting
validationLevel
tooff|warn|error
globally or scopedfor specific types and fields. In this initial v7 release, all validations are introduced at the
warn
threshold for backwards compatibility. Most of these validations will become automaticerrors in v8. To enable validation errors now, set
validationLevel: 'error'
. Full configurationoptions look like this:
v6.2.9
Patch Changes
219ed39
: enhance(load/module-loader/merge): use getDocumentNodeFromSchema instead of parse andprintSchemaWithDirectives together
219ed39
]219ed39
]219ed39
]v6.2.8
Patch Changes
8f331aa
: enhance(load/module-loader/merge): use getDocumentNodeFromSchema instead of parse andprintSchemaWithDirectives together
8f331aa
]8f331aa
]v6.2.7
Compare Source
Patch Changes
d9b82a2
: fix(merge/stitch) consistent enum value merged9b82a2
: enhance(stitch) canonical merged type and field definitions. Use the @canonicaldirective to promote preferred type and field descriptions into the combined gateway schema.
v6.2.6
Compare Source
Patch Changes
878c36b
: enhance(stitch): use mergeScalar from mergev6.2.5
Compare Source
Patch Changes
be1a157
: ## Breaking Changes:Schema Generation and Decoration API (
@graphql-tools/schema
)Resolver validation options should now be set to
error
,warn
orignore
rather thantrue
or
false
. In previous versions, some of the validators caused errors to be thrown, while someissued warnings. This changes brings consistency to validator behavior.
The
allowResolversNotInSchema
has been renamed torequireResolversToMatchSchema
, toharmonize the naming convention of all the validators. The default setting of
requireResolversToMatchSchema
iserror
, matching the previous behavior.Schema Delegation (
delegateToSchema
&@graphql-tools/delegate
)The
delegateToSchema
return value has matured and been formalized as anExternalObject
, inwhich all errors are integrated into the GraphQL response, preserving their initial path. Those
advanced users accessing the result directly will note the change in error handling. This also
allows for the deprecation of unnecessary helper functions including
slicedError
,getErrors
,getErrorsByPathSegment
functions. Only external errors with missing or invalid paths muststill be preserved by annotating the remote object with special properties. The new
getUnpathedErrors
function is therefore necessary for retrieving only these errors. Note alsothe new
annotateExternalObject
andmergeExternalObjects
functions, as well as the renamingof
handleResult
toresolveExternalValue
.Transform types and the
applySchemaTransforms
are now relocated to thedelegate
package;applyRequestTransforms
/applyResultTransforms
functions have been deprecated, however, asthis functionality has been replaced since v6 by the
Transformer
abstraction.The
transformRequest
/transformResult
methods are now provided additionaldelegationContext
and
transformationContext
arguments -- these were introduced in v6, but previously optional.The
transformSchema
method may wish to create additional delegating resolvers and so it is nowprovided the
subschemaConfig
and final (non-executable)transformedSchema
parameters. As inv6, the
transformSchema
is kicked off once to produce the non-executable version, and then, ifa wrapping schema is being generated, proxying resolvers are created with access to the
(non-executable) initial result. In v7, the individual
transformSchema
methods also get accessto the result of the first run, if necessary, they can create additional wrapping schema
proxying resolvers.
applySchemaTransforms
parameters have been updated to match and support thetransformSchema
parameters above.
Remote Schemas & Wrapping (
wrapSchema
,makeRemoteExecutableSchema
, and@graphql-tools/wrap
)wrapSchema
andgenerateProxyingResolvers
now only take a single options argument with namedproperties of type
SubschemaConfig
. The previously possible shorthand version with firstargument consisting of a
GraphQLSchema
and second argument representing the transforms shouldbe reworked as a
SubschemaConfig
object.Similarly, the
ICreateProxyingResolverOptions
interface that provides the options for thecreateProxyingResolver
property ofSubschemaConfig
options has been adjusted. Theschema
property previously could be set to a
GraphQLSchema
or aSubschemaConfig
object. Thisproperty has been removed in favor of a
subschemaConfig
property that will always be aSubschemaConfig
object. Thetransforms
property has been removed; transforms should beincluded within the
SubschemaConfig
object.`The format of the wrapping schema has solidified. All non-root fields are expected to use
identical resolvers, either
defaultMergedResolver
or a custom equivalent, with root fieldsdoing the hard work of proxying. Support for custom merged resolvers throught
createMergedResolver
has been deprecated, as custom merging resolvers conflicts when usingstitching's type merging, where resolvers are expected to be identical across subschemas.
The
WrapFields
transform'swrappingResolver
option has been removed, as this complicatesmultiple wrapping layers, as well as planned functionality to wrap subscription root fields in
potentially multiple layers, as the wrapping resolvers may be different in different layers.
Modifying resolvers can still be performed by use of an additional transform such as
TransformRootFields
orTransformObjectFields
.The
ExtendSchema
transform has been removed, as it is conceptually simpler just to usestitchSchemas
with one subschema.The
ReplaceFieldsWithFragment
,AddFragmentsByField
,AddSelectionSetsByField
, andAddMergedTypeSelectionSets
transforms has been removed, as they are superseded by theAddSelectionSets
andVisitSelectionSets
transforms. TheAddSelectionSets
purposely takesparsed SDL rather than strings, to nudge end users to parse these strings at build time (when
possible), rather than at runtime. Parsing of selection set strings can be performed using the
parseSelectionSet
function from@graphql-tools/utils
.Schema Stitching (
stitchSchemas
&@graphql-tools/stitch
)stitchSchemas
'smergeTypes
option is now true by default! This causes theonTypeConflict
option to be ignored by default. To use
onTypeConflict
to select a specific type instead ofsimply merging, simply set
mergeTypes
to false.schemas
argument has been deprecated, usesubschemas
,typeDefs
, ortypes
, depending onwhat you are stitching.
When using batch delegation in type merging, the
argsFromKeys
function is now set only via theargsFromKeys
property. Previously, ifargsFromKeys
was absent, it could be read fromargs
.Support for fragment hints has been removed in favor of selection set hints.
stitchSchemas
now processes allGraphQLSchema
andSubschemaConfig
subschema input into newSubschema
objects, handling schema config directives such aso@computed
as well as generatingthe final transformed schema, stored as the
transformedSchema
property, if transforms areused. Signatures of the
onTypeConflict
,fieldConfigMerger
, andinputFieldConfigMerger
havebeen updated to include metadata related to the original and transformed subschemas. Note the
property name change for
onTypeConflict
fromschema
tosubschema
.Mocking (
addMocksToSchema
and@graphql-tools/mock
)graphql-js convention, i.e. these functions take three arguments,
args
,context
, andinfo
with
parent
available asthis
rather than as the first argument.Other Utilities (
@graphql-tools/utils
)filterSchema
'sfieldFilter
will now filter all fields across Object, Interface, and Inputtypes. For the previous Object-only behavior, switch to the
objectFieldFilter
option.fieldNodes
utility functions have been removed.typeContainsSelectionSet
function has been removed, andtypesContainSelectionSet
hasbeen moved to the
stitch
package.Operation
type has been removed in favor ofOperationTypeNode
from upstreamgraphql-js.
applySchemaTransforms
/applyRequestTransforms
/applyResultTransforms
have beenremoved from the
utils
package, as they are implemented elsewhere or no longer necessary.v6.2.4
Compare Source
Patch Changes
32c3c4f
: Fix duplication of scalar directives in merge32c3c4f
: Support scalar extensions by merging directives533d6d5
: Bump all packages to allow adjustments32c3c4f
]533d6d5
]v6.2.3
Compare Source
What’s Changed
🚀 Features
v6.2.2
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.1
Patch Changes
0483004
]v6.2.0
Compare Source
What’s Changed
🚀 Features
🐛 Bug Fixes
v6.1.0
Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
ardatan/graphql-tools (@graphql-tools/schema)
v6.2.4
Compare Source
Patch Changes
533d6d5
: Bump all packages to allow adjustments32c3c4f
]533d6d5
]v6.2.3
Compare Source
What’s Changed
🚀 Features
v6.2.2
Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.1
Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
v6.2.0
Compare Source
What’s Changed
🚀 Features
🐛 Bug Fixes
v6.1.0
Compare Source
What’s Changed
🧰 Enhancements
🐛 Bug Fixes
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.