Skip to content

Commit f8b1630

Browse files
committed
chore: gendocs
1 parent 3a593f8 commit f8b1630

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,8 @@ Creates an appropriate GraphQL over HTTP response following the provided argumen
259259

260260
If the first argument is an `ExecutionResult`, the operation will be treated as "successful".
261261

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.
265264

266265
#### Parameters
267266

0 commit comments

Comments
 (0)