@@ -347,23 +347,23 @@ can only be used as input types. Object, Interface, and Union types can only be
347347used as output types . Lists and Non -Null types may be used as input types or
348348output types depending on how the wrapped type may be used .
349349
350- IsInputType (type) :
350+ IsInputType (type):
351351
352352- If {type } is a List type or Non -Null type :
353353 - Let {unwrappedType } be the unwrapped type of {type}.
354- - Return IsInputType ({unwrappedType})
354+ - Return IsInputType ({unwrappedType}).
355355- If {type } is a Scalar , Enum , or Input Object type :
356- - Return {true }
357- - Return {false }
356+ - Return {true }.
357+ - Return {false }.
358358
359- IsOutputType (type) :
359+ IsOutputType (type):
360360
361361- If {type } is a List type or Non -Null type :
362362 - Let {unwrappedType } be the unwrapped type of {type}.
363- - Return IsOutputType ({unwrappedType})
363+ - Return IsOutputType ({unwrappedType}).
364364- If {type } is a Scalar , Object , Interface , Union , or Enum type :
365- - Return {true }
366- - Return {false }
365+ - Return {true }.
366+ - Return {false }.
367367
368368### Type Extensions
369369
@@ -613,7 +613,7 @@ other input values must raise a _request error_ indicating an incorrect type.
613613The ID scalar type represents a unique identifier , often used to refetch an
614614object or as the key for a cache . The ID type is serialized in the same way as a
615615{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 }.
617617
618618**Result Coercion **
619619
@@ -919,7 +919,7 @@ of rules must be adhered to by every Object type in a GraphQL schema.
919919 3. The argument must accept a type where {IsInputType (argumentType)}
920920 returns {true }.
921921 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 .
9239233. An object type may declare that it implements one or more unique interfaces .
9249244. An object type must be a super -set of all interfaces it implements :
925925 1. Let this object type be {objectType }.
@@ -1631,7 +1631,7 @@ The value for an input object should be an input object literal or an unordered
16311631map supplied by a variable , otherwise a _request error_ must be raised . In
16321632either case , the input object literal or unordered map must not contain any
16331633entries with names not defined by a field of this input object type , otherwise a
1634- response error must be raised .
1634+ request error must be raised .
16351635
16361636The result of coercion is an unordered map with an entry for each field both
16371637defined by the input object type and for which a value exists . The resulting map
@@ -1699,7 +1699,7 @@ input ExampleInputObject {
16991699 3. The input field must accept a type where {IsInputType (inputFieldType)}
17001700 returns {true }.
17011701 4. If input field type is Non -Null and a default value is not defined :
1702- - The `@deprecated ` directive must not be applied to this input field .
1702+ 1. The `@deprecated ` directive must not be applied to this input field .
170317033. If an Input Object references itself either directly or through referenced
17041704 Input Objects , at least one of the fields in the chain of references must be
17051705 either a nullable or a List type .
0 commit comments