Skip to content

Commit 8280397

Browse files
committed
incrementalDelivery: remove singleResult wrapper
extracted from #3732
1 parent 612abd3 commit 8280397

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/execution/execute.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,11 @@ export const defaultFieldResolver: GraphQLFieldResolver<unknown, unknown> =
14761476
* If the operation succeeded, the promise resolves to an AsyncIterator, which
14771477
* yields a stream of ExecutionResults representing the response stream.
14781478
*
1479-
* This function does not support incremental delivery (`@defer` and `@stream`).
1479+
* This function also supports experimental incremental delivery directives
1480+
* (`@defer` and `@stream`). To use these directives, they should be added to
1481+
* the schema and TS generic parameter TMaybeIncremental should be set to `true`
1482+
* (default: false).
1483+
* * This function does not support incremental delivery (`@defer` and `@stream`).
14801484
* If an operation which would defer or stream data is executed with this
14811485
* function, each `InitialIncrementalExecutionResult` and
14821486
* `SubsequentIncrementalExecutionResult` in the result stream will be replaced

0 commit comments

Comments
 (0)