@graphql-yoga/plugin-defer-stream 3.6.3 → 3.6.4-alpha-20240804141352-8c191869

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/index.js CHANGED
@@ -35,5 +35,15 @@ function useDeferStream() {
35
35
  addValidationRule(defer_stream_directive_on_root_field_js_1.DeferStreamDirectiveOnRootFieldRule);
36
36
  addValidationRule(stream_directive_on_list_field_js_1.StreamDirectiveOnListFieldRule);
37
37
  },
38
+ onExecute({ args }) {
39
+ // @ts-expect-error we don't have this typing in envelop
40
+ args.deduplicateDefers = false;
41
+ // @ts-expect-error we don't have this typing in envelop
42
+ args.sendIncrementalErrorsAsNull = true;
43
+ // @ts-expect-error we don't have this typing in envelop
44
+ args.sendPathAndLabelOnIncremental = true;
45
+ // @ts-expect-error we don't have this typing in envelop
46
+ args.errorWithIncrementalSubscription = false;
47
+ },
38
48
  };
39
49
  }
package/esm/index.js CHANGED
@@ -32,5 +32,15 @@ export function useDeferStream() {
32
32
  addValidationRule(DeferStreamDirectiveOnRootFieldRule);
33
33
  addValidationRule(StreamDirectiveOnListFieldRule);
34
34
  },
35
+ onExecute({ args }) {
36
+ // @ts-expect-error we don't have this typing in envelop
37
+ args.deduplicateDefers = false;
38
+ // @ts-expect-error we don't have this typing in envelop
39
+ args.sendIncrementalErrorsAsNull = true;
40
+ // @ts-expect-error we don't have this typing in envelop
41
+ args.sendPathAndLabelOnIncremental = true;
42
+ // @ts-expect-error we don't have this typing in envelop
43
+ args.errorWithIncrementalSubscription = false;
44
+ },
35
45
  };
36
46
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@graphql-yoga/plugin-defer-stream",
3
- "version": "3.6.3",
3
+ "version": "3.6.4-alpha-20240804141352-8c191869",
4
4
  "description": "Defer/Stream plugin for GraphQL Yoga.",
5
5
  "peerDependencies": {
6
6
  "graphql": "^15.2.0 || ^16.0.0",
7
- "graphql-yoga": "^5.6.3"
7
+ "graphql-yoga": "^5.6.4-alpha-20240804141352-8c191869"
8
8
  },
9
9
  "dependencies": {
10
10
  "@graphql-tools/utils": "^10.0.0"