@graphql-tools/executor@4.1.0
Minor Changes
-
#8550
4db5750Thanks @ardatan! -@graphql-tools/executorcan publish both incremental delivery payload formats from one execution kernel. PassincrementalSpec: 'v0.1' | 'v0.2'onexecute/subscribe/normalizedExecutor(also onExecutionRequestforexecutorFromSchema).'v0.1'remains the default and keeps the existingpath/labelpatches used withmultipart/mixed;deferSpec=20220824.'v0.2'emits Apollo incremental v0.2 payloads (pendingwithidandpath,incrementalwithidand optionalsubPath,completed) used withmultipart/mixed;incrementalSpec=v0.2.Field execution,
@defer/@streamscheduling, andAbortSignalcancellation are shared. Spec-specific JSON is built by a publisher: v0.1 still yields{ incremental, hasNext }; v0.2 assigns ids when a pending group is first announced, groups streamed items under one pending path, and reports completion separately. Nested@deferpatches are collected as children of the parent patch so v0.2 can announce the inner fragment only after the parent is pending, without making the nested fragment wait on the parent's promise (v0.1 sibling completion is unchanged aside from incremental array order).Publisher state (
Map/Setof ids) is allocated only for'v0.2'.StreamGroupis created only for v0.2 and only when items are actually streamed. v0.2 stream completion uses an open-count on the group instead of scanningsubsequentPayloads.mergeIncrementalResultstill merges v0.1path/itemspatches. For v0.2 it recordspendingids on the execution result, writes deferreddataatpending.path + subPath, appends streameditemsonto the list atpending.path, and foldscompleted.errorsintoerrors.visitResultflattens nested deferred patches so result visiting still sees fields that live under a child@defer.
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/utils@13.1.0
Minor Changes
-
#8550
4db5750Thanks @ardatan! -@graphql-tools/executorcan publish both incremental delivery payload formats from one execution kernel. PassincrementalSpec: 'v0.1' | 'v0.2'onexecute/subscribe/normalizedExecutor(also onExecutionRequestforexecutorFromSchema).'v0.1'remains the default and keeps the existingpath/labelpatches used withmultipart/mixed;deferSpec=20220824.'v0.2'emits Apollo incremental v0.2 payloads (pendingwithidandpath,incrementalwithidand optionalsubPath,completed) used withmultipart/mixed;incrementalSpec=v0.2.Field execution,
@defer/@streamscheduling, andAbortSignalcancellation are shared. Spec-specific JSON is built by a publisher: v0.1 still yields{ incremental, hasNext }; v0.2 assigns ids when a pending group is first announced, groups streamed items under one pending path, and reports completion separately. Nested@deferpatches are collected as children of the parent patch so v0.2 can announce the inner fragment only after the parent is pending, without making the nested fragment wait on the parent's promise (v0.1 sibling completion is unchanged aside from incremental array order).Publisher state (
Map/Setof ids) is allocated only for'v0.2'.StreamGroupis created only for v0.2 and only when items are actually streamed. v0.2 stream completion uses an open-count on the group instead of scanningsubsequentPayloads.mergeIncrementalResultstill merges v0.1path/itemspatches. For v0.2 it recordspendingids on the execution result, writes deferreddataatpending.path + subPath, appends streameditemsonto the list atpending.path, and foldscompleted.errorsintoerrors.visitResultflattens nested deferred patches so result visiting still sees fields that live under a child@defer.
@graphql-tools/executor-apollo-link@3.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/executor-envelop@5.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/executor-legacy-ws@2.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/executor-urql-exchange@2.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/executor-yoga@4.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/executor-envelop@5.0.3
@graphql-tools/graphql-tag-pluck@9.0.4
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
graphql-tools@10.0.3
Patch Changes
- Updated dependencies []:
- @graphql-tools/schema@11.0.3
@graphql-tools/import@8.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/links@11.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/load@9.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/schema@11.0.3
@graphql-tools/load-files@8.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/apollo-engine-loader@9.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/code-file-loader@9.0.4
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/graphql-tag-pluck@9.0.4
- @graphql-tools/load-files@8.0.3
@graphql-tools/external-fragment-loader@1.0.4
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/graphql-tag-pluck@9.0.4
- @graphql-tools/load-files@8.0.3
@graphql-tools/git-loader@9.0.4
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/graphql-tag-pluck@9.0.4
@graphql-tools/github-loader@10.0.4
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/graphql-tag-pluck@9.0.4
@graphql-tools/graphql-file-loader@9.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/import@8.0.3
- @graphql-tools/load-files@8.0.3
@graphql-tools/json-file-loader@9.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/load-files@8.0.3
@graphql-tools/module-loader@9.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/url-loader@10.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/executor-legacy-ws@2.0.3
@graphql-tools/merge@10.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/mock@10.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/schema@11.0.3
@graphql-tools/node-require@8.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/load@9.0.3
- @graphql-tools/graphql-file-loader@9.0.3
@graphql-tools/relay-operation-optimizer@8.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/resolvers-composition@8.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
@graphql-tools/schema@11.0.3
Patch Changes
- Updated dependencies [
4db5750]:- @graphql-tools/utils@13.1.0
- @graphql-tools/merge@10.0.3