@graphql-tools/stitch 10.1.4-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8 → 10.1.4-rc-924ffb15d84292a020a45655046fd359ea9f02d5

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 CHANGED
@@ -1,10 +1,14 @@
1
1
  # @graphql-tools/stitch
2
2
 
3
- ## 10.1.4-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8
3
+ ## 10.1.4-rc-924ffb15d84292a020a45655046fd359ea9f02d5
4
4
  ### Patch Changes
5
5
 
6
6
 
7
7
 
8
+ - [#1735](https://github.com/graphql-hive/gateway/pull/1735) [`55173a5`](https://github.com/graphql-hive/gateway/commit/55173a55344a07fdf9531efcbaa4cb142fff655e) 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-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8
18
- - @graphql-tools/delegate@12.0.0-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8
19
- - @graphql-tools/batch-delegate@10.0.6-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8
21
+ - @graphql-tools/wrap@11.1.0-rc-924ffb15d84292a020a45655046fd359ea9f02d5
22
+ - @graphql-tools/delegate@12.0.0-rc-924ffb15d84292a020a45655046fd359ea9f02d5
23
+ - @graphql-tools/batch-delegate@10.0.6-rc-924ffb15d84292a020a45655046fd359ea9f02d5
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.every(
1414
+ const isIsolatedFieldName = allTypes.some(
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.every(
1445
+ const isIsolatedFieldName = allTypes.some(
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.every(
1412
+ const isIsolatedFieldName = allTypes.some(
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.every(
1443
+ const isIsolatedFieldName = allTypes.some(
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-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8",
3
+ "version": "10.1.4-rc-924ffb15d84292a020a45655046fd359ea9f02d5",
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-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8",
42
- "@graphql-tools/delegate": "12.0.0-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8",
41
+ "@graphql-tools/batch-delegate": "10.0.6-rc-924ffb15d84292a020a45655046fd359ea9f02d5",
42
+ "@graphql-tools/delegate": "12.0.0-rc-924ffb15d84292a020a45655046fd359ea9f02d5",
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-rc-70ab4bd21a7f4dd67d993b256d03184f5f6129d8",
47
+ "@graphql-tools/wrap": "11.1.0-rc-924ffb15d84292a020a45655046fd359ea9f02d5",
48
48
  "@whatwg-node/promise-helpers": "^1.3.2",
49
49
  "tslib": "^2.8.1"
50
50
  },
@@ -52,7 +52,7 @@
52
52
  "@graphql-tools/mock": "^9.1.3",
53
53
  "dataloader": "^2.2.3",
54
54
  "graphql": "^16.12.0",
55
- "pkgroll": "2.21.3"
55
+ "pkgroll": "2.21.4"
56
56
  },
57
57
  "sideEffects": false
58
58
  }