@@ -347,23 +347,23 @@ can only be used as input types. Object, Interface, and Union types can only be
347
347
used as output types . Lists and Non -Null types may be used as input types or
348
348
output types depending on how the wrapped type may be used .
349
349
350
- IsInputType (type) :
350
+ IsInputType (type):
351
351
352
352
- If {type } is a List type or Non -Null type :
353
353
- Let {unwrappedType } be the unwrapped type of {type}.
354
- - Return IsInputType ({unwrappedType})
354
+ - Return IsInputType ({unwrappedType}).
355
355
- If {type } is a Scalar , Enum , or Input Object type :
356
- - Return {true }
357
- - Return {false }
356
+ - Return {true }.
357
+ - Return {false }.
358
358
359
- IsOutputType (type) :
359
+ IsOutputType (type):
360
360
361
361
- If {type } is a List type or Non -Null type :
362
362
- Let {unwrappedType } be the unwrapped type of {type}.
363
- - Return IsOutputType ({unwrappedType})
363
+ - Return IsOutputType ({unwrappedType}).
364
364
- If {type } is a Scalar , Object , Interface , Union , or Enum type :
365
- - Return {true }
366
- - Return {false }
365
+ - Return {true }.
366
+ - Return {false }.
367
367
368
368
### Type Extensions
369
369
@@ -613,7 +613,7 @@ other input values must raise a _request error_ indicating an incorrect type.
613
613
The ID scalar type represents a unique identifier , often used to refetch an
614
614
object or as the key for a cache . The ID type is serialized in the same way as a
615
615
{String }; however , it is not intended to be human -readable . While it is often
616
- numeric , it should always serialize as a {String }.
616
+ numeric , it must always serialize as a {String }.
617
617
618
618
**Result Coercion **
619
619
@@ -919,7 +919,7 @@ of rules must be adhered to by every Object type in a GraphQL schema.
919
919
3. The argument must accept a type where {IsInputType (argumentType)}
920
920
returns {true }.
921
921
4. If argument type is Non -Null and a default value is not defined :
922
- - The `@deprecated ` directive must not be applied to this argument .
922
+ 1. The `@deprecated ` directive must not be applied to this argument .
923
923
3. An object type may declare that it implements one or more unique interfaces .
924
924
4. An object type must be a super -set of all interfaces it implements :
925
925
1. Let this object type be {objectType }.
@@ -1653,7 +1653,7 @@ The value for an input object should be an input object literal or an unordered
1653
1653
map supplied by a variable , otherwise a _request error_ must be raised . In
1654
1654
either case , the input object literal or unordered map must not contain any
1655
1655
entries with names not defined by a field of this input object type , otherwise a
1656
- response error must be raised .
1656
+ request error must be raised .
1657
1657
1658
1658
The result of coercion is an unordered map with an entry for each field both
1659
1659
defined by the input object type and for which a value exists . The resulting map
@@ -1768,7 +1768,7 @@ input ExampleInputTagged @oneOf {
1768
1768
3. The input field must accept a type where {IsInputType (inputFieldType)}
1769
1769
returns {true }.
1770
1770
4. If input field type is Non -Null and a default value is not defined :
1771
- - The `@deprecated ` directive must not be applied to this input field .
1771
+ 1. The `@deprecated ` directive must not be applied to this input field .
1772
1772
5. If the Input Object is a OneOf Input Object then :
1773
1773
1. The type of the input field must be nullable .
1774
1774
2. The input field must not have a default value .
0 commit comments