File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,21 @@ In the end state where error propagation is disabled and clients are error-handl
41
41
The default error propagation is indicated in introspection with a new meta-field, ` onErrorDefault ` of ` String! ` type.
42
42
43
43
``` graphql
44
- extend type __Schema {
44
+ type __Service {
45
45
"""
46
46
Indicates the error behaviour when `onError` is not present in the request.
47
47
One of `NULL`, `PROPAGATE`, `HALT`
48
48
"""
49
49
onErrorDefault : String !
50
50
}
51
+ extend type __Schema {
52
+ """
53
+ Information relative to the service.
54
+ In a perfect world, this is a separate meta-field separate from __Schema but new meta fields are not discoverable
55
+ and this is added as a `__Schema` field for backward compatibility reasons.
56
+ """
57
+ service : __Service
58
+ }
51
59
```
52
60
53
61
Services not supporting `onError ` must not support `onErrorDefault ` and must ignore the `onError ` request property .
You can’t perform that action at this time.
0 commit comments