@graphql-tools/executor 0.0.15 → 0.0.16-alpha-20230406062259-3c0a93c4
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/cjs/execution/execute.js
CHANGED
|
@@ -434,7 +434,7 @@ function getStreamValues(exeContext, fieldNodes, path) {
|
|
|
434
434
|
if (!stream) {
|
|
435
435
|
return;
|
|
436
436
|
}
|
|
437
|
-
if (stream
|
|
437
|
+
if (stream.if === false) {
|
|
438
438
|
return;
|
|
439
439
|
}
|
|
440
440
|
(0, invariant_js_1.invariant)(typeof stream['initialCount'] === 'number', 'initialCount must be a number');
|
package/esm/execution/execute.js
CHANGED
|
@@ -426,7 +426,7 @@ function getStreamValues(exeContext, fieldNodes, path) {
|
|
|
426
426
|
if (!stream) {
|
|
427
427
|
return;
|
|
428
428
|
}
|
|
429
|
-
if (stream
|
|
429
|
+
if (stream.if === false) {
|
|
430
430
|
return;
|
|
431
431
|
}
|
|
432
432
|
invariant(typeof stream['initialCount'] === 'number', 'initialCount must be a number');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/executor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16-alpha-20230406062259-3c0a93c4",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@repeaterjs/repeater": "3.0.4",
|
|
10
10
|
"@graphql-tools/utils": "9.2.1",
|
|
11
|
-
"@graphql-typed-document-node/core": "3.
|
|
11
|
+
"@graphql-typed-document-node/core": "3.2.0",
|
|
12
12
|
"tslib": "^2.4.0",
|
|
13
13
|
"value-or-promise": "1.0.12"
|
|
14
14
|
},
|