File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ the case that any _field error_ was raised on a field and was replaced with
15
15
### Response Map
16
16
17
17
:: 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.
19
21
20
22
If the request raised any errors, the _ response map_ must contain an entry with
21
23
key ` errors ` . The value of this entry is described in the "Errors" section. If
@@ -43,7 +45,8 @@ a response map during debugging.
43
45
### Response Stream
44
46
45
47
:: 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_ .
47
50
48
51
### Data
49
52
You can’t perform that action at this time.
0 commit comments