Skip to content

Commit 0e0404a

Browse files
committed
Slightly more verbose
1 parent 62b7bb2 commit 0e0404a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/Section 3 -- Type System.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -818,9 +818,9 @@ of rules must be adhered to by every Object type in a GraphQL schema.
818818
characters {"__"} (two underscores).
819819
2. The argument must accept a type where {IsInputType(argumentType)}
820820
returns {true}.
821-
3. If specified, {defaultValue} must be compatible with {argumentType} as
822-
per the coercion rules for that type, and coercion of {defaultValue}
823-
must not cause an infinite loop.
821+
3. If the argument has a default value, {defaultValue} must be compatible
822+
with {argumentType} as per the coercion rules for that type, and
823+
coercion of {defaultValue} must not cause an infinite loop.
824824
3. An object type may declare that it implements one or more unique interfaces.
825825
4. An object type must be a super-set of all interfaces it implements:
826826
1. Let this object type be {objectType}.
@@ -1530,9 +1530,9 @@ Literal Value | Variables | Coerced Value
15301530
characters {"__"} (two underscores).
15311531
3. The input field must accept a type where {IsInputType(inputFieldType)}
15321532
returns {true}.
1533-
4. If specified, {defaultValue} must be compatible with {inputFieldType} as
1534-
per the coercion rules for that type, and coercion of {defaultValue} must
1535-
not cause an infinite loop.
1533+
4. If the input field has a default value, {defaultValue} must be compatible
1534+
with {inputFieldType} as per the coercion rules for that type, and
1535+
coercion of {defaultValue} must not cause an infinite loop.
15361536

15371537

15381538
### Input Object Extensions

0 commit comments

Comments
 (0)