chore(deps): update dependency @graphql-tools/delegate to v10 #580
+106
−19
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:
^8.8.1
->^10.2.2
Release Notes
graphql-hive/gateway (@graphql-tools/delegate)
v10.2.2
Compare Source
Patch Changes
2e0add3
Thanks @ardatan! - Fix missing key fields in the nested queriesv10.2.1
Compare Source
Patch Changes
#164
310613d
Thanks @ardatan! - dependencies updates:@graphql-tools/utils@^10.6.0
↗︎ (from^10.5.6
, independencies
)Updated dependencies [
310613d
,f0b6921
,f71366d
]:v10.2.0
Compare Source
Minor Changes
f32cb2a
Thanks @ardatan! - Introduce `onDelegationPlan` and `onDelegationStageExecuteDone` hooksv10.1.3
Compare Source
Patch Changes
#118
73c621d
Thanks @{! - Do not ignore request selection set when overriding the fieldsv10.1.2
Compare Source
v10.1.1
Compare Source
Patch Changes
342e044
Thanks @ardatan! - Prevent extra queries to the same subgraph
multiple times on the same plan, and merge iterables correctly
v10.1.0
Compare Source
Minor Changes
e9906eb
Thanks @kroupacz! - Handle shared root field queries with aliases
v10.0.29
Compare Source
Patch Changes
da1de08
Thanks @kroupacz! - - fix
subtractSelectionSets()
method - findfield by its path correctly
v10.0.28
Compare Source
Patch Changes
f470f49
Thanks @ardatan! - Support original format of "@stream"
v10.0.27
Compare Source
Patch Changes
180f3f0
Thanks @ardatan! - Avoid extra calls if the keys are already
resolved
v10.0.26
Compare Source
Patch Changes
8effad4
Thanks @ardatan! - Performance improvements on upstream request
execution
v10.0.25
Compare Source
Patch Changes
8a16b01
Thanks @ardatan! - Performance improvements on upstream request
execution
v10.0.24
Compare Source
Patch Changes
4cdb462
Thanks @ardatan! - Performance improvements on upstream request
execution
v10.0.23
Compare Source
Patch Changes
#6573
7e2938d
Thanks @ardatan! - When there are two services like below then the
following query senty, the gateway tries to fetch
id
as an extra field because it considersid
might be needed while this is not correct. This patch avoids any extra calls, and forwards the
query as is to the 2nd service.
Book(upc=)
}
v10.0.22
Compare Source
Patch Changes
[
cf2ce5e
]:v10.0.21
Compare Source
Patch Changes
3163978
Thanks @ardatan! - Fix broken complex-entity-call
v10.0.20
Compare Source
Patch Changes
#6469
0e87805
Thanks @User!! - Handle merged selection sets in the computed fields;
When a selection set for a computed field needs to be merged, resolve that required selection set
fully then resolve the computed field. In the following case, the selection set for the
author
field in the
Post
type is merged with the selection set for theauthorId
field in theComment
type.v10.0.19
Compare Source
Patch Changes
#6437
3188051
Thanks @User, @(),
@{, @{, @{,
@{, @{! - Fix the bug happens when a merged field
is a computed field requires another computed field requires a field from the initial subschema.
In the following test case,
totalOrdersPrices
needsuserOrders
which needslastName
frominitial
Query.user
. So the bug was skipping the dependencies ofuserOrders
because it assumedlastName
already there by mistake.v10.0.18
Compare Source
Patch Changes
#6420
a867bbc
Thanks @ardatan! - dependencies updates:
@repeaterjs/repeater@^3.0.6
↗︎(to
dependencies
)#6420
a867bbc
Thanks @ardatan! - Pass operation directives correctly to the
subschema;
#6418
da93c08
Thanks @ardatan! - Fix extra inline fragments for all abstract types
in the upstream schema call
If there are two subschemas like below, the final
Node
interface is implemented by bothOven
and
Toaster
while they are not implemented in both schemas. In this case the query{ products { id ... on Node { id } } }
will need to be transformed to{ products { id ... on Oven { id } ... on Node { id } } }
for the first subschema. Butpreviously the query planner was automatically creating inline fragments for all possible types
which was not optimal. Now it adds inline fragments only if this case is seen.
And another one like below;
Updated dependencies
[
a867bbc
]:v10.0.17
Compare Source
Patch Changes
3803897
Thanks @ardatan! - Cleanup extra fields, empty inline fragments and
duplicate __typename fields
v10.0.16
Compare Source
Patch Changes
33e8146
Thanks @ardatan! - Fail on query planning phase if the query plan is
not successful before the actual execution
Updated dependencies
[
33e8146
]:v10.0.15
Compare Source
Patch Changes
d54b21a
Thanks @ardatan! - If an abstract type on the gateway resolves to a
type that does not exist on the gateway, return null instead of showing an error to the user
d54b21a
Thanks @ardatan! - If an enum value coming from the subschema is not
available on gateway, do not show an error to the user but return null instead
v10.0.14
Compare Source
Patch Changes
#6356
8094c37
Thanks @enisdenjo! - AggregateError errors are GraphQL located
errors
Instead of transforming the AggregateError itself to a GraphQL located error.
This is because of two reasons:
v10.0.13
Compare Source
Patch Changes
7b6f77a
Thanks @ardatan! - Use native
Promise.withResolvers
when possiblev10.0.12
Compare Source
Patch Changes
#6278
66c99d9
Thanks @ardatan! - Handle
@defer
Updated dependencies
[
66c99d9
,74f995f
]:v10.0.11
Compare Source
Patch Changes
#6194
7368829
Thanks @ardatan! - Handle interface objects in a different way
#6188
e10c13a
Thanks @ardatan! - Add
subtractSelectionSets
to get the diff oftwo selection sets
#6187
dfccfbf
Thanks @ardatan! - Do not merge errors and regular resolved objects
If a subschema returns an error for specific field that is already resolved by another subschema,
the error should not be merged with the resolved object.
#6189
0134f7f
Thanks @ardatan! - Handle interface types with non-shared
implementations;
For example, you have the following services, where
Node
is implemented in both services, butFoo
andBar
are only implemented in one service. And when the gateway receives the followingquery, it should be converted to this because
Node
is not implemented asBar
in Service 1while implemented in Service 2.
Query conversion;
v10.0.10
Compare Source
Patch Changes
#6134
a83da08
Thanks @User! - Ignore unmerged fields
Let's say you have a gateway schema like in the bottom, and
id
is added to the query, only ifthe
age
is requested;v10.0.9
Compare Source
Patch Changes
#6126
680351e
Thanks @ardatan! - When there is a Node subschema, and others to
resolve the rest of the entities by using a union resolver as in Federation like below, it was
failing. This version fixes that issue.
v10.0.8
Compare Source
Patch Changes
4ce3ffc
Thanks @ardatan! - Simplify the logic in
wrapConcreteTypes
v10.0.7
Compare Source
Patch Changes
074fad4
Thanks @ardatan! - Merge list fields correctly
v10.0.6
Compare Source
Patch Changes
af7be09
Thanks @ardatan! - Hotfix: do not use nullable and nonNullable
prefixes if field names don't match
v10.0.5
Compare Source
Patch Changes
#6091
9bca9e0
Thanks @User, @User! - If the gateway
receives a query with an overlapping fields for the subschema, it uses aliases to resolve it
correctly.
Let's say subschema A has the following schema;
And let's say the gateway has the following schema instead;
In this case, the following query is fine for the gateway but for the subschema, it's not;
So the subgraph will throw based on this rule
OverlappingFieldsCanBeMerged
To avoid this, the gateway will use aliases to resolve the query correctly. The query will be
transformed to the following;
#6092
243c353
Thanks @ardatan! - If one of the subgraphs are already able to
resolve a nested field as in
parent-entity-call
example'sCategory.details
from C'sProduct
,resolve it from there instead of using type merging.
This is coming from C's Product, so resolve it from there instead of Type Merging
}
v10.0.4
Compare Source
Patch Changes
#5913
83c0af0
Thanks @enisdenjo! - dependencies updates:
@graphql-tools/schema@^10.0.2
↗︎(from
^10.0.0
, independencies
)@graphql-tools/utils@^10.0.13
↗︎(from
^10.0.5
, independencies
)#5913
83c0af0
Thanks @enisdenjo! - No unnecessary inline fragment spreads for
union types
Updated dependencies
[
83c0af0
,83c0af0
,83c0af0
]:v10.0.3
Compare Source
Patch Changes
aadb591f
Thanks @ardatan! - Fix for wrapping subscription types
v10.0.2
Compare Source
Patch Changes
da1de08
Thanks @kroupacz! - - fix
subtractSelectionSets()
method - findfield by its path correctly
v10.0.1
Compare Source
Patch Changes
#6437
3188051
Thanks @User, @(),
@{, @{, @{,
@{, @{! - Fix the bug happens when a merged field
is a computed field requires another computed field requires a field from the initial subschema.
In the following test case,
totalOrdersPrices
needsuserOrders
which needslastName
frominitial
Query.user
. So the bug was skipping the dependencies ofuserOrders
because it assumedlastName
already there by mistake.v10.0.0
Compare Source
Major Changes
944a68e8
Thanks @ardatan! - Drop Node 14 support. Require Node.js
>= 16
Patch Changes
8fba6cc1
Thanks @ardatan! - Workaround for empty results
Updated dependencies
[
944a68e8
,944a68e8
]:v9.0.35
Compare Source
Patch Changes
#5220
8e80b689
Thanks @ardatan! - Performance improvements
Updated dependencies
[
88244048
,8e80b689
]:v9.0.34
Compare Source
Patch Changes
2f342e43
Thanks @ardatan! - Do not use promises if not async
Updated dependencies
[
2f342e43
]:v9.0.33
Compare Source
Patch Changes
[
05c97eb8
,05c97eb8
,05c97eb8
,f24f018a
]:v9.0.32
Compare Source
Patch Changes
[
91a895be
]:v9.0.31
Compare Source
Patch Changes
[
1c95368a
]:v9.0.30
Compare Source
Patch Changes
[
828fbf93
]:v9.0.29
Compare Source
Patch Changes
f26392a6
Thanks @neumark! - Create symbols with Symbol.for() because multiple
copies of delegate cause stitching bugs otherwise.
v9.0.28
Compare Source
Patch Changes
492220cb
Thanks @n1ru4l! - dependencies updates:
@graphql-tools/batch-execute@^8.5.18
↗︎(from
8.5.18
, independencies
)@graphql-tools/executor@^0.0.14
↗︎(from
0.0.14
, independencies
)@graphql-tools/schema@^9.0.16
↗︎(from
9.0.16
, independencies
)@graphql-tools/utils@^9.2.1
↗︎(from
9.2.1
, independencies
)dataloader@^2.2.2
↗︎(from
2.2.2
, independencies
)tslib@^2.5.0
↗︎ (from~2.5.0
, independencies
)value-or-promise@^1.0.12
↗︎ (from1.0.12
, independencies
)[
77c1002e
]:v9.0.27
Compare Source
Patch Changes
30bd4d0c
Thanks @renovate! - dependencies updates:
[email protected]
↗︎(from
2.2.1
, independencies
)[
30bd4d0c
]:v9.0.26
Compare Source
Patch Changes
b09ea282
Thanks @renovate! - dependencies updates:
[email protected]
↗︎](https:/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.