@@ -144,10 +144,10 @@ ExecuteQuery(query, schema, variableValues, initialValue):
144
144
- If {subsequentPayloads} is empty:
145
145
- Return an unordered map containing {data} and {errors}.
146
146
- If {subsequentPayloads} is not empty:
147
- - Let {intialResponse } be an unordered map containing {data}, {errors}, and an
148
- entry named {hasNext} with the value {true}.
147
+ - Let {initialResponse } be an unordered map containing {data}, {errors}, and
148
+ an entry named {hasNext} with the value {true}.
149
149
- Let {iterator} be the result of running
150
- {YieldSubsequentPayloads(intialResponse , subsequentPayloads)}.
150
+ {YieldSubsequentPayloads(initialResponse , subsequentPayloads)}.
151
151
- For each {payload} yielded by {iterator}:
152
152
- If a termination signal is received:
153
153
- Send a termination signal to {iterator}.
@@ -178,10 +178,10 @@ ExecuteMutation(mutation, schema, variableValues, initialValue):
178
178
- If {subsequentPayloads} is empty:
179
179
- Return an unordered map containing {data} and {errors}.
180
180
- If {subsequentPayloads} is not empty:
181
- - Let {intialResponse } be an unordered map containing {data}, {errors}, and an
182
- entry named {hasNext} with the value {true}.
181
+ - Let {initialResponse } be an unordered map containing {data}, {errors}, and
182
+ an entry named {hasNext} with the value {true}.
183
183
- Let {iterator} be the result of running
184
- {YieldSubsequentPayloads(intialResponse , subsequentPayloads)}.
184
+ {YieldSubsequentPayloads(initialResponse , subsequentPayloads)}.
185
185
- For each {payload} yielded by {iterator}:
186
186
- If a termination signal is received:
187
187
- Send a termination signal to {iterator}.
@@ -341,10 +341,10 @@ ExecuteSubscriptionEvent(subscription, schema, variableValues, initialValue):
341
341
- If {subsequentPayloads} is empty:
342
342
- Return an unordered map containing {data} and {errors}.
343
343
- If {subsequentPayloads} is not empty:
344
- - Let {intialResponse } be an unordered map containing {data}, {errors}, and an
345
- entry named {hasNext} with the value {true}.
344
+ - Let {initialResponse } be an unordered map containing {data}, {errors}, and
345
+ an entry named {hasNext} with the value {true}.
346
346
- Let {iterator} be the result of running
347
- {YieldSubsequentPayloads(intialResponse , subsequentPayloads)}.
347
+ {YieldSubsequentPayloads(initialResponse , subsequentPayloads)}.
348
348
- For each {payload} yielded by {iterator}:
349
349
- If a termination signal is received:
350
350
- Send a termination signal to {iterator}.
@@ -372,7 +372,7 @@ If an operation contains subsequent payload records resulting from `@stream` or
372
372
` @defer ` directives, the {YieldSubsequentPayloads} algorithm defines how the
373
373
payloads should be processed.
374
374
375
- YieldSubsequentPayloads(intialResponse , subsequentPayloads):
375
+ YieldSubsequentPayloads(initialResponse , subsequentPayloads):
376
376
377
377
- Let {initialRecords} be any items in {subsequentPayloads} with a completed
378
378
{dataExecution}.
@@ -384,9 +384,9 @@ YieldSubsequentPayloads(intialResponse, subsequentPayloads):
384
384
- Let {payload} be the completed result returned by {dataExecution}.
385
385
- Append {payload} to {initialIncremental}.
386
386
- If {initialIncremental} is not empty:
387
- - Add an entry to {intialResponse } named ` incremental ` containing the value
387
+ - Add an entry to {initialResponse } named ` incremental ` containing the value
388
388
{incremental}.
389
- - Yield {intialResponse }.
389
+ - Yield {initialResponse }.
390
390
- While {subsequentPayloads} is not empty:
391
391
- If a termination signal is received:
392
392
- For each {record} in {subsequentPayloads}:
@@ -555,7 +555,7 @@ A correct executor must generate the following result for that selection set:
555
555
```
556
556
557
557
When subsections contain a ` @stream ` or ` @defer ` directive, these subsections
558
- are no longer required to execute serially. Exeuction of the deferred or
558
+ are no longer required to execute serially. Execution of the deferred or
559
559
streamed sections of the subsection may be executed in parallel, as defined in
560
560
{ExecuteStreamField} and {ExecuteDeferredFragment}.
561
561
0 commit comments