Skip to content

Commit 70de903

Browse files
committed
Merge branch 'main' into benjie/incremental-common
2 parents 5459f16 + 646f937 commit 70de903

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

spec/Section 3 -- Type System.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,7 @@ IsValidImplementation(type, implementedType):
947947
2. Let {implementedFieldType} be the return type of {implementedField}.
948948
3. {IsValidImplementationFieldType(fieldType, implementedFieldType)} must
949949
be {true}.
950+
6. If {field} is deprecated then {implementedField} must also be deprecated.
950951

951952
IsValidImplementationFieldType(fieldType, implementedFieldType):
952953

spec/Section 4 -- Introspection.md

Lines changed: 5 additions & 5 deletions
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)