Skip to content

Commit d84939e

Browse files
committed
fix typos
1 parent 7c9ea0a commit d84939e

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}.
@@ -341,10 +341,10 @@ ExecuteSubscriptionEvent(subscription, schema, variableValues, initialValue):
341341
- If {subsequentPayloads} is empty:
342342
- Return an unordered map containing {data} and {errors}.
343343
- 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}.
346346
- Let {iterator} be the result of running
347-
{YieldSubsequentPayloads(intialResponse, subsequentPayloads)}.
347+
{YieldSubsequentPayloads(initialResponse, subsequentPayloads)}.
348348
- For each {payload} yielded by {iterator}:
349349
- If a termination signal is received:
350350
- Send a termination signal to {iterator}.
@@ -372,7 +372,7 @@ If an operation contains subsequent payload records resulting from `@stream` or
372372
`@defer` directives, the {YieldSubsequentPayloads} algorithm defines how the
373373
payloads should be processed.
374374

375-
YieldSubsequentPayloads(intialResponse, subsequentPayloads):
375+
YieldSubsequentPayloads(initialResponse, subsequentPayloads):
376376

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

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

0 commit comments

Comments
 (0)