You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemdefinitionlanguagecanomittheschema definition when the `query`, `mutation`, and `subscription` root types are named `Query`, `Mutation`, and
124
+
systemdefinitionlanguagecanomittheschema definition when the `query`,
125
+
`mutation`, and `subscription` root types are named `Query`, `Mutation`, and
124
126
`Subscription` respectively.
125
127
126
128
Likewise, when representing a GraphQL schema using the type system language, a
@@ -149,7 +151,8 @@ made available via introspection.
149
151
150
152
To allow GraphQL service designers to easily publish documentation alongside the
151
153
capabilities of a GraphQL service, GraphQL descriptions are defined using the
152
-
Markdown syntax (as specified by [CommonMark](http://commonmark.org/)). In the type system definition language, these description strings (often {BlockString})
154
+
Markdown syntax (as specified by [CommonMark](http://commonmark.org/)). In the
155
+
type system definition language, these description strings (often {BlockString})
153
156
occur immediately before the definition they describe.
154
157
155
158
All GraphQL types, fields, arguments and other definitions which can be
@@ -240,7 +243,8 @@ A GraphQL schema may describe that a field represents list of another types;
240
243
the `List` type is provided for this reason, and wraps another type.
241
244
242
245
Similarly, the `Non-Null` type wraps another type, and denotes that the
243
-
resulting value will never be null.
246
+
resulting value will never be {null} (and that an error cannot result in a
247
+
{null} value).
244
248
245
249
These two types are referred to as "wrapping types"; non-wrapping types are
246
250
referred to as "named types". A wrapping type has an underlying named type,
@@ -1001,7 +1005,7 @@ In this example, a directive is added to a `NamedEntity` type without
1001
1005
addingfields:
1002
1006
1003
1007
```graphqlexample
1004
-
extendtypeNamedEntity@addedDirective
1008
+
extendinterfaceNamedEntity@addedDirective
1005
1009
```
1006
1010
1007
1011
**TypeValidation**
@@ -1188,7 +1192,7 @@ input value with the same name.
1188
1192
1189
1193
Enum types have the potential to be invalid if incorrectly defined.
1190
1194
1191
-
1.A Enum type must define one or more unique enum values.
1195
+
1.An Enum type must define one or more unique enum values.
1192
1196
1193
1197
1194
1198
### Enum Extensions
@@ -1206,11 +1210,11 @@ extension of another GraphQL service.
1206
1210
1207
1211
Enum type extensions have the potential to be invalid if incorrectly defined.
1208
1212
1209
-
1. The named type must already be defined and must be a Enum type.
1210
-
3. All values of a Enum type extension must be unique.
1211
-
4. All values of a Enum type extension must not already be a value of
1213
+
1. The named type must already be defined and must be an Enum type.
1214
+
2. All values of an Enum type extension must be unique.
1215
+
3. All values of an Enum type extension must not already be a value of
1212
1216
the original Enum.
1213
-
5. Any directives provided must not already apply to the original Enum type.
1217
+
4. Any directives provided must not already apply to the original Enum type.
1214
1218
1215
1219
1216
1220
## Input Objects
@@ -1390,6 +1394,10 @@ should be performed. If that result was not {null}, then the result of coercing
0 commit comments