File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -259,9 +259,8 @@ Creates an appropriate GraphQL over HTTP response following the provided argumen
259
259
260
260
If the first argument is an ` ExecutionResult ` , the operation will be treated as "successful".
261
261
262
- If the first argument is a ` GraphQLError ` (or an array of), the operation will be treated as invalid
263
- and the response will be constructed with the help of ` acceptedMediaType ` complying with
264
- the GraphQL over HTTP Protocol.
262
+ If the first argument is _ any_ object without the ` data ` field, it will be treated as an error (as per the spec)
263
+ and the response will be constructed with the help of ` acceptedMediaType ` complying with the GraphQL over HTTP Protocol.
265
264
266
265
#### Parameters
267
266
You can’t perform that action at this time.
0 commit comments