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