@@ -85,16 +85,16 @@ objects in the response as unordered Maps and arrive at a valid value.
85
85
86
86
A response to a GraphQL operation must be a map.
87
87
88
- If the operation included execution, the response map must contain a first entry
89
- with key ` data ` . The value of this entry is described in the "Data" section. If
90
- the operation failed before execution, due to a syntax error, missing
91
- information, or validation error, this entry must not be present.
92
-
93
- If the operation encountered any errors, the response map must contain a next
88
+ If the operation encountered any errors, the response map must contain a first
94
89
entry with key ` errors ` . The value of this entry is described in the "Errors"
95
90
section. If the operation completed without encountering any errors, this entry
96
91
must not be present.
97
92
93
+ If the operation included execution, the response map must contain a next entry
94
+ with key ` data ` . The value of this entry is described in the "Data" section. If
95
+ the operation failed before execution, due to a syntax error, missing
96
+ information, or validation error, this entry must not be present.
97
+
98
98
The response map may also contain an entry with key ` extensions ` . This entry,
99
99
if set, must have a map as its value. This entry is reserved for implementors
100
100
to extend the protocol however they see fit, and hence there are no additional
0 commit comments