@graphql-hive/router-runtime 1.1.0-alpha-c7ed703d01e275972543f2f0ce3e3f460700360a → 1.1.0-alpha-e23b844282b3244e6da4dc25307e1bdb5e3aeb88
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 +3 -3
- package/dist/index.cjs +0 -4
- package/dist/index.js +0 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @graphql-hive/router-runtime
|
|
2
2
|
|
|
3
|
-
## 1.1.0-alpha-
|
|
3
|
+
## 1.1.0-alpha-e23b844282b3244e6da4dc25307e1bdb5e3aeb88
|
|
4
4
|
### Minor Changes
|
|
5
5
|
|
|
6
6
|
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
- [#1708](https://github.com/graphql-hive/gateway/pull/1708) [`2ea1b7c`](https://github.com/graphql-hive/gateway/commit/2ea1b7cdd3086d6785f473b290b4ea1e13e49649) Thanks [@ardatan](https://github.com/ardatan)! - Handle listed enum values correctly
|
|
21
21
|
Previously when a field like `[MyEnum!]!` is projected, it was projecting it like it is `MyEnum`.
|
|
22
22
|
- Updated dependencies [[`2ea1b7c`](https://github.com/graphql-hive/gateway/commit/2ea1b7cdd3086d6785f473b290b4ea1e13e49649)]:
|
|
23
|
-
- @graphql-mesh/fusion-runtime@1.6.0-alpha-
|
|
24
|
-
- @graphql-tools/federation@4.2.4-alpha-
|
|
23
|
+
- @graphql-mesh/fusion-runtime@1.6.0-alpha-e23b844282b3244e6da4dc25307e1bdb5e3aeb88
|
|
24
|
+
- @graphql-tools/federation@4.2.4-alpha-e23b844282b3244e6da4dc25307e1bdb5e3aeb88
|
|
25
25
|
|
|
26
26
|
## 1.0.1
|
|
27
27
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -888,10 +888,6 @@ function projectSelectionSet(data, selectionSet, type, executionContext) {
|
|
|
888
888
|
const enumValue = enumType.getValue(value);
|
|
889
889
|
if (enumValue == null) {
|
|
890
890
|
return null;
|
|
891
|
-
} else if (enumValue.astNode?.directives?.find(
|
|
892
|
-
(directive) => directive.name.value === "inaccessible"
|
|
893
|
-
)) {
|
|
894
|
-
return null;
|
|
895
891
|
}
|
|
896
892
|
return value;
|
|
897
893
|
};
|
package/dist/index.js
CHANGED
|
@@ -886,10 +886,6 @@ function projectSelectionSet(data, selectionSet, type, executionContext) {
|
|
|
886
886
|
const enumValue = enumType.getValue(value);
|
|
887
887
|
if (enumValue == null) {
|
|
888
888
|
return null;
|
|
889
|
-
} else if (enumValue.astNode?.directives?.find(
|
|
890
|
-
(directive) => directive.name.value === "inaccessible"
|
|
891
|
-
)) {
|
|
892
|
-
return null;
|
|
893
889
|
}
|
|
894
890
|
return value;
|
|
895
891
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/router-runtime",
|
|
3
|
-
"version": "1.1.0-alpha-
|
|
3
|
+
"version": "1.1.0-alpha-e23b844282b3244e6da4dc25307e1bdb5e3aeb88",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@envelop/core": "^5.4.0",
|
|
46
46
|
"@graphql-hive/router-query-planner": "^0.0.4",
|
|
47
|
-
"@graphql-mesh/fusion-runtime": "1.6.0-alpha-
|
|
47
|
+
"@graphql-mesh/fusion-runtime": "1.6.0-alpha-e23b844282b3244e6da4dc25307e1bdb5e3aeb88",
|
|
48
48
|
"@graphql-mesh/transport-common": "^1.0.12",
|
|
49
49
|
"@graphql-tools/executor": "^1.4.13",
|
|
50
50
|
"@graphql-tools/executor-common": "^1.0.5",
|
|
51
|
-
"@graphql-tools/federation": "4.2.4-alpha-
|
|
51
|
+
"@graphql-tools/federation": "4.2.4-alpha-e23b844282b3244e6da4dc25307e1bdb5e3aeb88",
|
|
52
52
|
"@graphql-tools/utils": "^10.10.3",
|
|
53
53
|
"@whatwg-node/promise-helpers": "^1.3.2"
|
|
54
54
|
},
|