Skip to content

Commit 646f937

Browse files
authored
make includeDeprecated non nullable (#1142)
1 parent 73d8b26 commit 646f937

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/Section 4 -- Introspection.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ type __Type {
138138
name: String
139139
description: String
140140
# must be non-null for OBJECT and INTERFACE, otherwise null.
141-
fields(includeDeprecated: Boolean = false): [__Field!]
141+
fields(includeDeprecated: Boolean! = false): [__Field!]
142142
# must be non-null for OBJECT and INTERFACE, otherwise null.
143143
interfaces: [__Type!]
144144
# must be non-null for INTERFACE and UNION, otherwise null.
145145
possibleTypes: [__Type!]
146146
# must be non-null for ENUM, otherwise null.
147-
enumValues(includeDeprecated: Boolean = false): [__EnumValue!]
147+
enumValues(includeDeprecated: Boolean! = false): [__EnumValue!]
148148
# must be non-null for INPUT_OBJECT, otherwise null.
149-
inputFields(includeDeprecated: Boolean = false): [__InputValue!]
149+
inputFields(includeDeprecated: Boolean! = false): [__InputValue!]
150150
# must be non-null for NON_NULL and LIST, otherwise null.
151151
ofType: __Type
152152
# may be non-null for custom SCALAR, otherwise null.
@@ -167,7 +167,7 @@ enum __TypeKind {
167167
type __Field {
168168
name: String!
169169
description: String
170-
args(includeDeprecated: Boolean = false): [__InputValue!]!
170+
args(includeDeprecated: Boolean! = false): [__InputValue!]!
171171
type: __Type!
172172
isDeprecated: Boolean!
173173
deprecationReason: String
@@ -193,7 +193,7 @@ type __Directive {
193193
name: String!
194194
description: String
195195
locations: [__DirectiveLocation!]!
196-
args(includeDeprecated: Boolean = false): [__InputValue!]!
196+
args(includeDeprecated: Boolean! = false): [__InputValue!]!
197197
isRepeatable: Boolean!
198198
}
199199

0 commit comments

Comments
 (0)