-
#6109
074fad4
Thanks @ardatan! - Show responses in debug logging withDEBUG
env var -
Updated dependencies [
074fad4
,074fad4
]:- @graphql-tools/delegate@10.0.7
- @graphql-tools/stitch@9.2.3
-
#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;
type Query { } interface User { id: ID! name: String! } type Admin implements User { id: ID! name: String! role: String! } type Customer implements User { id: ID! name: String email: String }
And let's say the gateway has the following schema instead;
type Query { } interface User { id: ID! name: String! } type Admin implements User { id: ID! name: String! role: String! } type Customer implements User { id: ID! name: String! email: String! }
In this case, the following query is fine for the gateway but for the subschema, it's not;
query { user { ... on Admin { id name # This is nullable in the subschema role } ... on Customer { id name # This is non-nullable in the subschema email } } }
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;
query { user { ... on Admin { id name # This is nullable in the subschema role } ... on Customer { id name: _nullable_name # This is non-nullable in the subschema email } } }
-
Updated dependencies [
9bca9e0
,9bca9e0
,243c353
]:- @graphql-tools/stitch@9.2.0
- @graphql-tools/delegate@10.0.5
- #5946
107c021
Thanks @ardatan! - If an interface or scalar type is not annotated for a subgraph explicitly, consider them as a shared type
- #5913
83c0af0
Thanks @enisdenjo! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^10.0.3
↗︎ (from^10.0.1
, independencies
) - Updated dependency
@graphql-tools/executor-http@^1.0.8
↗︎ (from^1.0.6
, independencies
) - Updated dependency
@graphql-tools/merge@^9.0.1
↗︎ (from^9.0.0
, independencies
) - Updated dependency
@graphql-tools/schema@^10.0.2
↗︎ (from^10.0.0
, independencies
) - Updated dependency
@graphql-tools/stitch@^9.0.4
↗︎ (from^9.0.2
, independencies
) - Updated dependency
@graphql-tools/utils@^10.0.13
↗︎ (from^10.0.0
, independencies
) - Updated dependency
@graphql-tools/wrap@^10.0.1
↗︎ (from^10.0.0
, independencies
)
- Updated dependency
- Updated dependencies [
83c0af0
,83c0af0
,83c0af0
,83c0af0
,83c0af0
,83c0af0
,83c0af0
]:- @graphql-tools/delegate@10.0.4
- @graphql-tools/executor-http@1.0.9
- @graphql-tools/merge@9.0.3
- @graphql-tools/schema@10.0.3
- @graphql-tools/stitch@9.0.5
- @graphql-tools/wrap@10.0.2
7583729
Thanks @ardatan! - FixgetSubschemaForFederationWithTypeDefs
for non-supergraph merging of subgraphs
- #5878
ba062ff
Thanks @darren-west! - fix: buildSubgraphSchema with no entity keys
-
974df8a
Thanks @ardatan! - Debug logging & expose the subgraph schema -
Updated dependencies [
b798b3b
]:- @graphql-tools/executor-http@1.0.6
-
250715a1
Thanks @ardatan! - Supportextend type
in subgraph SDL -
250715a1
Thanks @ardatan! - Support supergraph with no join__type directives on Query type
-
cda328c3
Thanks @ardatan! - Support for multiple key entrypoints for an object, and avoid sending whole object if possible -
Updated dependencies [
cda328c3
]:- @graphql-tools/stitch@9.0.2
-
#5474
f31be313
Thanks @ardatan! - dependencies updates:- Removed dependency
lodash.pick@^4.4.0
↗︎ (fromdependencies
)
- Removed dependency
-
#5474
f31be313
Thanks @ardatan! - Optimizations for federation -
Updated dependencies [
f31be313
]:- @graphql-tools/delegate@10.0.1
- @graphql-tools/stitch@9.0.1
-
#5468
de9e8a67
Thanks @ardatan! - dependencies updates:- Added dependency
lodash.pick@^4.4.0
↗︎ (todependencies
)
- Added dependency
-
#5468
de9e8a67
Thanks @ardatan! - Reduce the number of upstream requests
- Updated dependencies
[
944a68e8
,8fba6cc1
,944a68e8
,944a68e8
,944a68e8
]:- @graphql-tools/executor-http@1.0.0
- @graphql-tools/delegate@10.0.0
- @graphql-tools/schema@10.0.0
- @graphql-tools/stitch@9.0.0
- @graphql-tools/merge@9.0.0
- @graphql-tools/utils@10.0.0
- @graphql-tools/wrap@10.0.0
- #5223
24c13616
Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/executor-http@^0.1.9
↗︎ (from^0.0.7
, independencies
)
- Updated dependency
-
#5212
0cd9e8c4
Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/delegate@^9.0.19
↗︎ (from9.0.19
, independencies
) - Updated dependency
@graphql-tools/merge@^8.3.16
↗︎ (from8.3.16
, independencies
) - Updated dependency
@graphql-tools/schema@^9.0.14
↗︎ (from9.0.14
, independencies
) - Updated dependency
@graphql-tools/wrap@^9.2.20
↗︎ (from9.2.20
, independencies
) - Updated dependency
@graphql-tools/utils@^9.1.3
↗︎ (from9.1.3
, independencies
) - Updated dependency
@graphql-tools/executor-http@^0.0.7
↗︎ (from0.0.7
, independencies
) - Updated dependency
@graphql-tools/stitch@^8.7.34
↗︎ (from8.7.34
, independencies
) - Added dependency
value-or-promise@^1.0.12
↗︎ (todependencies
)
- Updated dependency
-
Updated dependencies [
8e80b689
]:- @graphql-tools/delegate@9.0.35
- @graphql-tools/stitch@8.7.49