Skip to content

Commit 1f55915

Browse files
robrichardyaacovCR
authored andcommitted
fix typos
1 parent 8ac5ff4 commit 1f55915

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

spec/Section 6 -- Execution.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ ExecuteQuery(query, schema, variableValues, initialValue):
144144
- If {subsequentPayloads} is empty:
145145
- Return an unordered map containing {data} and {errors}.
146146
- 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}.
149149
- Let {iterator} be the result of running
150-
{YieldSubsequentPayloads(intialResponse, subsequentPayloads)}.
150+
{YieldSubsequentPayloads(initialResponse, subsequentPayloads)}.
151151
- For each {payload} yielded by {iterator}:
152152
- If a termination signal is received:
153153
- Send a termination signal to {iterator}.
@@ -178,10 +178,10 @@ ExecuteMutation(mutation, schema, variableValues, initialValue):
178178
- If {subsequentPayloads} is empty:
179179
- Return an unordered map containing {data} and {errors}.
180180
- 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}.
183183
- Let {iterator} be the result of running
184-
{YieldSubsequentPayloads(intialResponse, subsequentPayloads)}.
184+
{YieldSubsequentPayloads(initialResponse, subsequentPayloads)}.
185185
- For each {payload} yielded by {iterator}:
186186
- If a termination signal is received:
187187
- Send a termination signal to {iterator}.
@@ -340,10 +340,10 @@ ExecuteSubscriptionEvent(subscription, schema, variableValues, initialValue):
340340
- If {subsequentPayloads} is empty:
341341
- Return an unordered map containing {data} and {errors}.
342342
- 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}.
345345
- Let {iterator} be the result of running
346-
{YieldSubsequentPayloads(intialResponse, subsequentPayloads)}.
346+
{YieldSubsequentPayloads(initialResponse, subsequentPayloads)}.
347347
- For each {payload} yielded by {iterator}:
348348
- If a termination signal is received:
349349
- Send a termination signal to {iterator}.
@@ -371,7 +371,7 @@ If an operation contains subsequent payload records resulting from `@stream` or
371371
`@defer` directives, the {YieldSubsequentPayloads} algorithm defines how the
372372
payloads should be processed.
373373

374-
YieldSubsequentPayloads(intialResponse, subsequentPayloads):
374+
YieldSubsequentPayloads(initialResponse, subsequentPayloads):
375375

376376
- Let {initialRecords} be any items in {subsequentPayloads} with a completed
377377
{dataExecution}.
@@ -383,9 +383,9 @@ YieldSubsequentPayloads(intialResponse, subsequentPayloads):
383383
- Let {payload} be the completed result returned by {dataExecution}.
384384
- Append {payload} to {initialIncremental}.
385385
- 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
387387
{incremental}.
388-
- Yield {intialResponse}.
388+
- Yield {initialResponse}.
389389
- While {subsequentPayloads} is not empty:
390390
- If a termination signal is received:
391391
- For each {record} in {subsequentPayloads}:
@@ -554,7 +554,7 @@ A correct executor must generate the following result for that selection set:
554554
```
555555

556556
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
558558
streamed sections of the subsection may be executed in parallel, as defined in
559559
{ExecuteStreamField} and {ExecuteDeferredFragment}.
560560

0 commit comments

Comments
 (0)