Skip to content

Commit 9a07500

Browse files
committed
fix ExecuteRequest
1 parent 049bce8 commit 9a07500

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

spec/Section 6 -- Execution.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,8 @@ Alternatively, the socket can provide a write buffer pointer to allow
3939
- Let {coercedVariableValues} be the result of {CoerceVariableValues(schema,
4040
operation, variableValues)}.
4141
- If {operation} is a query operation:
42-
- Let {executionResult} be the result of calling {ExecuteQuery(operation,
43-
schema, coercedVariableValues, initialValue, subsequentPayloads)}.
44-
- If {executionResult} is an iterator:
45-
- For each {payload} in {executionResult}:
46-
- Yield {payload}.
47-
- Otherwise:
48-
- Return {executionResult}.
42+
- Return {ExecuteQuery(operation, schema, coercedVariableValues,
43+
initialValue)}.
4944
- Otherwise if {operation} is a mutation operation:
5045
- Return {ExecuteMutation(operation, schema, coercedVariableValues,
5146
initialValue)}.

0 commit comments

Comments
 (0)