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]
Patch Changes
#6194
7368829
Thanks @ardatan! - Handle interface objects in a different way
Updated dependencies
[
7368829
,e10c13a
,e10c13a
,dfccfbf
,0134f7f
]:@graphql-tools/[email protected]
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;
Services;
Updated dependencies
[
7368829
,e10c13a
]:@graphql-tools/[email protected]
Patch Changes
26d29d0
Thanks @martyganz! - Do not sort mutations when using
printExecutableGraphQLDocument
@graphql-tools/[email protected]
Patch Changes
#6194
7368829
Thanks @ardatan! - Handle interface objects in a different way
#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;
Services;
#6187
dfccfbf
Thanks @ardatan! - Respect @provides to optimize the query plan
#6188
e10c13a
Thanks @ardatan! - If two different subschemas have the root field,
use the same field to resolve missing fields instead of applying a type merging in advance
Updated dependencies
[
7368829
,e10c13a
,e10c13a
,dfccfbf
,0134f7f
,eec9d3d
,03a47b1
,e10c13a
,0827497
]:@graphql-tools/[email protected]
Patch Changes
#6201
9d79b3e
Thanks @grxy! - perf: only clone schema once in
addMocksToSchema
Updated dependencies
[
7368829
,e10c13a
]:@graphql-tools/[email protected]
Patch Changes
#6194
7368829
Thanks @ardatan! - Handle interface objects in a different way
Updated dependencies
[
7368829
,e10c13a
]:@graphql-tools/[email protected]
Patch Changes
#6194
7368829
Thanks @ardatan! - Handle interface objects in a different way
#6180
eec9d3d
Thanks @ardatan! - Handle nested dependencies in the computed fields
#6179
03a47b1
Thanks @ardatan! - Support computed fields resolved via a root field
returning an interface When a computed field returning an object, and that field is resolved via
an interface, the computed field will now be resolved correctly.
#6188
e10c13a
Thanks @ardatan! - Handle nested selections in
calculateSelectionScore
#6175
0827497
Thanks @ardatan! - If there is a subschema with some selection set,
and another with some other selection set. After the calculation of delegation stage, if one
subschema can cover the other selection set as well, then we can merge the two selection sets into
one, and remove the other subschema from the stage.
Updated dependencies
[
7368829
,e10c13a
,e10c13a
,dfccfbf
,0134f7f
]:@graphql-tools/[email protected]
Patch Changes
#6194
7368829
Thanks @ardatan! - Handle interface objects in a different way
#6188
e10c13a
Thanks @ardatan! - Add
respectArrayLength
flag tomergeDeep
soinstead of concatenating the arrays, elements of them will be merged if they have the same length
[email protected]
Patch Changes
[
7368829
,0134f7f
,eec9d3d
,03a47b1
,dfccfbf
,e10c13a
,e10c13a
,0827497
]: