Skip to content

Commit e503ac4

Browse files
leebyronbenjie
andcommitted
Review feedback
Co-authored-by: Benjie Gillam <benjie@jemjie.com>
1 parent 9e70c72 commit e503ac4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/Section 7 -- Response.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ present. It must contain at least one _request error_ indicating why no data was
6363
able to be returned.
6464

6565
If the `data` entry in the response is present (including if it is the value
66-
{null}), the `errors` entry must also be present if a _field error_ was raised
67-
during execution.
66+
{null}), the `errors` entry must be present if and only if one or more _field
67+
error_ was raised during execution.
6868

6969
**Request errors**
7070

@@ -76,8 +76,8 @@ to determine which operation to execute, or invalid input values for variables.
7676
A request error is typically the fault of the requesting client.
7777

7878
If a request error is raised, the `data` entry in the response must not be
79-
present. If a request error is encountered before execution, execution should
80-
not begin. The `errors` entry must include the error.
79+
present, the `errors` entry must include the error, and request execution should
80+
be halted.
8181

8282
**Field errors**
8383

0 commit comments

Comments
 (0)