Skip to content

Commit 5bf400e

Browse files
authored
"data" and "errors" appear in the "response", not the "result" (#1130)
1 parent c37a4a4 commit 5bf400e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 7 -- Response.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ of the query root operation type; if the operation was a mutation, this output
4343
will be an object of the mutation root operation type.
4444

4545
If an error was raised before execution begins, the `data` entry should not be
46-
present in the result.
46+
present in the response.
4747

4848
If an error was raised during the execution that prevented a valid response, the
4949
`data` entry in the response should be `null`.
@@ -56,7 +56,7 @@ format below.
5656

5757
If present, the `errors` entry in the response must contain at least one error.
5858
If no errors were raised during the request, the `errors` entry must not be
59-
present in the result.
59+
present in the response.
6060

6161
If the `data` entry in the response is not present, the `errors` entry must be
6262
present. It must contain at least one _request error_ indicating why no data was

0 commit comments

Comments
 (0)