Skip to content

Commit 00fe58d

Browse files
committed
Address feedback
1 parent 3accc70 commit 00fe58d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spec/Section 7 -- Response.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ the case that any _field error_ was raised on a field and was replaced with
1515
### Response Map
1616

1717
:: A GraphQL request returns a _response map_ when the GraphQL operation is a
18-
query or mutation. A response map must be a map.
18+
query or mutation. When the GraphQL operation is a subscription, the GraphQL
19+
request returns a _response map_ if a _request error_ is raised. A response map
20+
must be a map.
1921

2022
If the request raised any errors, the _response map_ must contain an entry with
2123
key `errors`. The value of this entry is described in the "Errors" section. If
@@ -43,7 +45,8 @@ a response map during debugging.
4345
### Response Stream
4446

4547
:: A GraphQL request returns a _response stream_ when the GraphQL operation is a
46-
subscription. A response stream must be a stream of _response map_.
48+
subscription and a _request error_ is not raised. A response stream must be a
49+
stream of _response map_.
4750

4851
### Data
4952

0 commit comments

Comments
 (0)