-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency @graphql-tools/schema to v10 #20
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/major-graphql-tools-monorepo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 25 25
Branches 7 7
=========================================
Hits 25 25 ☔ View full report in Codecov by Sentry. |
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
December 9, 2020 08:59
8d87d80
to
f0689f4
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
February 9, 2021 10:51
f0689f4
to
1fd1e48
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
May 9, 2021 21:33
1fd1e48
to
d14f0b9
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
October 18, 2021 18:35
d14f0b9
to
c8afb69
Compare
renovate
bot
changed the title
chore(deps): update dependency @graphql-tools/schema to v7
chore(deps): update dependency @graphql-tools/schema to v8
Oct 18, 2021
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
March 7, 2022 11:02
c8afb69
to
546ee57
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
March 26, 2022 14:14
546ee57
to
3393cdb
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
April 24, 2022 20:15
3393cdb
to
2c2b03b
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
May 16, 2022 02:52
2c2b03b
to
d784f55
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
2 times, most recently
from
June 23, 2022 18:41
9e96353
to
b48e0d6
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
September 25, 2022 17:46
b48e0d6
to
be6102b
Compare
renovate
bot
changed the title
chore(deps): update dependency @graphql-tools/schema to v8
chore(deps): update dependency @graphql-tools/schema to v9
Sep 25, 2022
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
November 20, 2022 08:06
be6102b
to
e5f5469
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
March 18, 2023 18:10
e5f5469
to
d6e6ba0
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
April 17, 2023 10:02
d6e6ba0
to
860c7aa
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
May 28, 2023 12:17
860c7aa
to
cca5fe6
Compare
renovate
bot
changed the title
chore(deps): update dependency @graphql-tools/schema to v9
chore(deps): update dependency @graphql-tools/schema to v10
May 28, 2023
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
2 times, most recently
from
November 22, 2023 16:05
b07a67d
to
4b4b5d3
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
February 23, 2024 15:25
4b4b5d3
to
fd2b64d
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
May 27, 2024 13:39
fd2b64d
to
da2c133
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
2 times, most recently
from
August 16, 2024 03:19
c22c384
to
1e75f67
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
October 15, 2024 15:20
1e75f67
to
011f884
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
November 13, 2024 16:39
011f884
to
b666bb6
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
November 22, 2024 11:47
b666bb6
to
6aba9de
Compare
renovate
bot
force-pushed
the
renovate/major-graphql-tools-monorepo
branch
from
November 27, 2024 22:40
6aba9de
to
cb1cfae
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.2.4
->10.0.10
Release Notes
ardatan/graphql-tools (@graphql-tools/schema)
v10.0.10
Compare Source
Patch Changes
[
1e02935
]:v10.0.9
Compare Source
Patch Changes
[
414e404
]:v10.0.8
Compare Source
Patch Changes
[
dc5043b
]:v10.0.7
Compare Source
Patch Changes
[
cf2ce5e
]:v10.0.6
Compare Source
Patch Changes
0286437
Thanks @ardatan! - Improve directive extraction
Updated dependencies
[
0286437
]:v10.0.5
Compare Source
Patch Changes
b8bf584
Thanks @ardatan! - Introduce `getDirectiveExtensions` and refactor
directive handling in the extensions
Updated dependencies
[
b8bf584
]:v10.0.4
Compare Source
Patch Changes
#6194
7368829
Thanks @ardatan! - Handle interface objects in a different way
Updated dependencies
[
7368829
,e10c13a
]:v10.0.3
Compare Source
Patch Changes
83c0af0
Thanks @enisdenjo! - dependencies updates:@graphql-tools/utils@^10.0.13
↗︎ (from^10.0.10
, independencies
)83c0af0
]:v10.0.2
Compare Source
Patch Changes
a570a601
Thanks @ardatan! - Add respectArrays flag to extensions merging
Updated dependencies
[
a570a601
]:v10.0.1
Compare Source
Patch Changes
e1fb8bb8
Thanks @ardatan! - Merge directives in the extensions
Updated dependencies
[
e1fb8bb8
]:v10.0.0
Compare Source
Major Changes
944a68e8
Thanks @ardatan! - Drop Node 14 support. Require Node.js>= 16
Patch Changes
944a68e8
,944a68e8
]:v9.0.19
Compare Source
Patch Changes
05c97eb8
Thanks @ardatan! - dependencies updates:value-or-promise@^1.0.12
↗︎ (from1.0.12
, independencies
)v9.0.18
Compare Source
Patch Changes
1c95368a
Thanks @ardatan! - Use ranged versions for dependenciesUpdated dependencies [
1c95368a
]:v9.0.17
Compare Source
Patch Changes
04e3ecb9
]:v9.0.16
Compare Source
Patch Changes
b5c8f640
]:v9.0.15
Compare Source
Patch Changes
a94217e9
,62d074be
]:v9.0.14
Compare Source
Patch Changes
8555c5c5
]:v9.0.13
Compare Source
Patch Changes
a4d36fcc
Thanks @renovate! - dependencies updates:[email protected]
↗︎ (from1.0.11
, independencies
)e3ec35ed
]:v9.0.12
Compare Source
Patch Changes
904fe770
]:v9.0.11
Compare Source
Patch Changes
[
13c24883
]:v9.0.10
Compare Source
Patch Changes
7411a5e7
]:v9.0.9
Compare Source
Patch Changes
c0639dd0
]:v9.0.8
Compare Source
Patch Changes
d83b1960
]:v9.0.7
Compare Source
Patch Changes
80836fa7
,8f6d3efc
,80836fa7
,80836fa7
,80836fa7
]:v9.0.6
Compare Source
Patch Changes
[
f7daf777
]:v9.0.5
Compare Source
Patch Changes
[
df5848b8
,df5848b8
,df5848b8
]:v9.0.4
Compare Source
Patch Changes
[
43c736bd
]:v9.0.3
Compare Source
Patch Changes
[
71cb4fae
,403ed450
]:v9.0.2
Compare Source
Patch Changes
[
4fe3d9c0
]:v9.0.1
Compare Source
Patch Changes
05c97eb8
Thanks @ardatan! - dependencies updates:
value-or-promise@^1.0.12
↗︎ (from1.0.12
, independencies
)v9.0.0
Compare Source
Major Changes
8cc8721f
Thanks @ardatan! - Thanks @mattkrick and @borisno2!v8.5.1
Compare Source
Patch Changes
2a3b45e
]v8.5.0
Compare Source
Minor Changes
d76a299
: Support TypeScript module resolution.Patch Changes
a0abbbc
]d76a299
]v8.4.0
Compare Source
Minor Changes
4914970
:mergeSchemas
was skippingdefaultFieldResolver
anddefaultMergedResolver
by default while extracting resolvers for each given schema to reduce the overhead. But this doesn't work properly if you mix wrapped schemas and local schemas. So newincludeDefaultMergedResolver
flag is introduced ingetResolversFromSchema
to put default "proxy" resolvers in the extracted resolver map formergeSchemas
.This fixes an issue with alias issue, so nested aliased fields weren't resolved properly because of the missing
defaultMergedResolver
in the final merged schema which should come from the wrapped schema.Patch Changes
4914970
]v8.3.14
Compare Source
Patch Changes
041c5ba
: Use caret range for the tslib dependency041c5ba
]v8.3.13
Compare Source
Patch Changes
da7ad43
]v8.3.12
Compare Source
Patch Changes
c0762ee
]v8.3.11
Compare Source
Patch Changes
0fc510c
]v8.3.10
Compare Source
Patch Changes
31a33e2
]v8.3.9
Compare Source
Patch Changes
cb23887
]v8.3.8
Compare Source
Patch Changes
0bbb176
]v8.3.7
Compare Source
Patch Changes
904c084
]v8.3.6
Compare Source
Patch Changes
722abad
: FixaddResolversToSchema
bug where type or field processing would be abortedprematurely.
In previous versions, if
requireResolversToMatchSchema
was set toignore
, although no errorwould be thrown for an unexpected resolver type, type processing would still be aborted early.
This fix changes the behavior to correctly continue resolver type processing with the next
provided type.
In previous versions, if a resolver field began with double underscores, it would correctly be
used for legacy behavior to directly set a type property, but field processing would be aborted
early. This fix changes the behavior to correctly continue type processing with the next field.
v8.3.5
Compare Source
Patch Changes
be2c02d
]v8.3.4
Compare Source
Patch Changes
d36d530
]v8.3.3
Compare Source
Patch Changes
0c0c685
: fix - align versions0c0c685
]v8.3.2
Compare Source
Patch Changes
1834136
: feat(visitResult): ignore if field not present in visited object1834136
]v8.3.1
Compare Source
Patch Changes
041c5ba
: Use caret range for the tslib dependency041c5ba
]v8.3.0
Compare Source
Minor Changes
149afdd
: fix: getting ready for GraphQL v16Patch Changes
149afdd
]v8.2.0
Compare Source
Minor Changes
c5b0719
: feat: GraphQL v16 supportPatch Changes
c5b0719
]c5b0719
]c5b0719
]c5b0719
]c5b0719
]v8.1.2
Compare Source
Patch Changes
e50852e
: use version ranges instead of a fixed version for the graphql-tools package versionse50852e
]v8.1.1
Compare Source
Patch Changes
2c807dd
]v8.1.0
Compare Source
Minor Changes
67691b7
: -schemaExtensions
option has been added tomergeSchemas
,makeExecutableSchema
andstitchSchemas
configurationsBreaking Changes;
mergeSchemas
andMergeSchemasConfig
from@graphql-tools/merge
to@graphql-tools/schema
package to prevent circular dependency between them.mergeSchemasAsync
has been removed.NamedDefinitionNode
,resetComments
,collectComment
,pushComment
andprintComment
from
@graphql-tools/merge
to@graphql-tools/utils
.Patch Changes
b968463
]a5fb77a
]9ede806
]67691b7
]v8.0.3
Compare Source
Patch Changes
4992b47
]v8.0.2
Compare Source
Patch Changes
0483004
]v8.0.1
Compare Source
Patch Changes
b823dba
]v8.0.0
Compare Source
Major Changes
7d3e300
: BREAKING CHANGE7d3e300
: BREAKING CHANGElogger
andaddErrorLoggingToSchema
plugin system based library like Envelop
7d3e300
: BREAKING CHANGEaddSchemaLevelResolver
Resolvers Composition
7d3e300
: BREAKING CHANGEbuildSchemaFromTypeDefinitions
, usebuildSchema
fromgraphql-js
insteadallowUndefinedResolve
option inmakeExecutableSchema
because GraphQL Schema itselfdoes this checking
Patch Changes
7d3e300
: enhance(schema): use merge package to handle typeDefs and resolvers mergingaf9a78d
]9c26b84
]7d3e300
]7d3e300
]dae6dc7
]6877b91
]c42e811
]7d3e300
]8c8d4fc
]7d3e300
]7d3e300
]74581cf
]c0ca319
]982c8f5
]7d3e300
]a31f959
]7d3e300
]v7.1.5
Compare Source
Patch Changes
22a9f3d
: fix(deps): follow package conventions on when to pinv7.1.4
Compare Source
Patch Changes
61da3e8
: use value-or-promise to streamline working with sync values or async promisesv7.1.3
Compare Source
Patch Changes
c8e26b8
: fix(schema): ignore resolvers if they are not in schemav7.1.2
Compare Source
Patch Changes
21da690
: fix release21da690
]v7.1.0
Compare Source
Minor Changes
4f5a4ef
: enhance(schema): add some options to improve schema creation performancePatch Changes
65ed780
: enhance(schema): do not visit resolvers if no validation is selectedb79e3a6
: enhance(schema): do not visit abstract types if requireResolversForResolveType notpresent
4f5a4ef
]v7.0.0
Compare Source
Major 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 upstreamgraph
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.