Skip to content

Commit f4fab96

Browse files
committed
Detail introspection changes
1 parent 31c90e7 commit f4fab96

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

spec/Section 4 -- Introspection.md

+12
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ type __Schema {
131131
mutationType: __Type
132132
subscriptionType: __Type
133133
directives: [__Directive!]!
134+
defaultErrorBehavior: __ErrorBehavior!
134135
}
135136

136137
type __Type {
@@ -164,6 +165,12 @@ enum __TypeKind {
164165
NON_NULL
165166
}
166167

168+
enum __ErrorBehavior {
169+
NO_PROPAGATE
170+
PROPAGATE
171+
ABORT
172+
}
173+
167174
type __Field {
168175
name: String!
169176
description: String
@@ -238,6 +245,11 @@ Fields\:
238245
must be included in this set.
239246
- `directives` must return the set of all directives available within this
240247
schema including all built-in directives.
248+
- `defaultErrorBehavior` must return the _default error behavior_ of the schema
249+
using one of the values of the `__ErrorBehavior` enum:
250+
- {"NO_PROPAGATE"}
251+
- {"PROPAGATE"}
252+
- {"ABORT"}
241253

242254
### The \_\_Type Type
243255

0 commit comments

Comments
 (0)