@graphql-tools/stitch 10.1.4-alpha-1d8029191773388689be67168d4ff96d6f48310e → 10.1.4-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -4
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# @graphql-tools/stitch
|
|
2
2
|
|
|
3
|
-
## 10.1.4-alpha-
|
|
3
|
+
## 10.1.4-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f
|
|
4
4
|
### Patch Changes
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- [#1735](https://github.com/graphql-hive/gateway/pull/1735) [`a5e9ca8`](https://github.com/graphql-hive/gateway/commit/a5e9ca8108a6c2bc82240bca7f1c84a85505b01f) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Ensure key fields propagate correctly for interface/object combinations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
- [#1727](https://github.com/graphql-hive/gateway/pull/1727) [`1dbc653`](https://github.com/graphql-hive/gateway/commit/1dbc6536cb992a705cac7894acca6fe5431b72de) Thanks [@ardatan](https://github.com/ardatan)! - Avoid extra `__typename` in the root selection
|
|
9
13
|
|
|
10
14
|
```diff
|
|
@@ -14,9 +18,9 @@
|
|
|
14
18
|
}
|
|
15
19
|
```
|
|
16
20
|
- Updated dependencies [[`bc6cddd`](https://github.com/graphql-hive/gateway/commit/bc6cddd1c53a012dd02a1d8a7217a28e65cc6ae9), [`1dbc653`](https://github.com/graphql-hive/gateway/commit/1dbc6536cb992a705cac7894acca6fe5431b72de), [`bc6cddd`](https://github.com/graphql-hive/gateway/commit/bc6cddd1c53a012dd02a1d8a7217a28e65cc6ae9)]:
|
|
17
|
-
- @graphql-tools/wrap@11.1.0-alpha-
|
|
18
|
-
- @graphql-tools/delegate@12.0.0-alpha-
|
|
19
|
-
- @graphql-tools/batch-delegate@10.0.6-alpha-
|
|
21
|
+
- @graphql-tools/wrap@11.1.0-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f
|
|
22
|
+
- @graphql-tools/delegate@12.0.0-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f
|
|
23
|
+
- @graphql-tools/batch-delegate@10.0.6-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f
|
|
20
24
|
|
|
21
25
|
## 10.1.3
|
|
22
26
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1411,7 +1411,7 @@ function filterBaseSubschema(subschemaConfig, isolatedSchemaTypes) {
|
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
1413
|
const allTypes = [typeName, ...iFacesForType];
|
|
1414
|
-
const isIsolatedFieldName = allTypes.
|
|
1414
|
+
const isIsolatedFieldName = allTypes.every(
|
|
1415
1415
|
(implementingTypeName) => isIsolatedField(implementingTypeName, fieldName, isolatedSchemaTypes)
|
|
1416
1416
|
);
|
|
1417
1417
|
const isKeyFieldName = allTypes.some(
|
|
@@ -1442,7 +1442,7 @@ function filterBaseSubschema(subschemaConfig, isolatedSchemaTypes) {
|
|
|
1442
1442
|
...iFacesForType,
|
|
1443
1443
|
...typesForInterface[typeName]
|
|
1444
1444
|
];
|
|
1445
|
-
const isIsolatedFieldName = allTypes.
|
|
1445
|
+
const isIsolatedFieldName = allTypes.every(
|
|
1446
1446
|
(implementingTypeName) => isIsolatedField(implementingTypeName, fieldName, isolatedSchemaTypes)
|
|
1447
1447
|
);
|
|
1448
1448
|
const isKeyFieldName = allTypes.some(
|
package/dist/index.js
CHANGED
|
@@ -1409,7 +1409,7 @@ function filterBaseSubschema(subschemaConfig, isolatedSchemaTypes) {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
1411
|
const allTypes = [typeName, ...iFacesForType];
|
|
1412
|
-
const isIsolatedFieldName = allTypes.
|
|
1412
|
+
const isIsolatedFieldName = allTypes.every(
|
|
1413
1413
|
(implementingTypeName) => isIsolatedField(implementingTypeName, fieldName, isolatedSchemaTypes)
|
|
1414
1414
|
);
|
|
1415
1415
|
const isKeyFieldName = allTypes.some(
|
|
@@ -1440,7 +1440,7 @@ function filterBaseSubschema(subschemaConfig, isolatedSchemaTypes) {
|
|
|
1440
1440
|
...iFacesForType,
|
|
1441
1441
|
...typesForInterface[typeName]
|
|
1442
1442
|
];
|
|
1443
|
-
const isIsolatedFieldName = allTypes.
|
|
1443
|
+
const isIsolatedFieldName = allTypes.every(
|
|
1444
1444
|
(implementingTypeName) => isIsolatedField(implementingTypeName, fieldName, isolatedSchemaTypes)
|
|
1445
1445
|
);
|
|
1446
1446
|
const isKeyFieldName = allTypes.some(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/stitch",
|
|
3
|
-
"version": "10.1.4-alpha-
|
|
3
|
+
"version": "10.1.4-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
6
6
|
"repository": {
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@graphql-tools/batch-delegate": "10.0.6-alpha-
|
|
42
|
-
"@graphql-tools/delegate": "12.0.0-alpha-
|
|
41
|
+
"@graphql-tools/batch-delegate": "10.0.6-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f",
|
|
42
|
+
"@graphql-tools/delegate": "12.0.0-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f",
|
|
43
43
|
"@graphql-tools/executor": "^1.4.13",
|
|
44
44
|
"@graphql-tools/merge": "^9.1.5",
|
|
45
45
|
"@graphql-tools/schema": "^10.0.29",
|
|
46
46
|
"@graphql-tools/utils": "^10.10.3",
|
|
47
|
-
"@graphql-tools/wrap": "11.1.0-alpha-
|
|
47
|
+
"@graphql-tools/wrap": "11.1.0-alpha-a5e9ca8108a6c2bc82240bca7f1c84a85505b01f",
|
|
48
48
|
"@whatwg-node/promise-helpers": "^1.3.2",
|
|
49
49
|
"tslib": "^2.8.1"
|
|
50
50
|
},
|