Skip to content

Commit 7fcf062

Browse files
committed
Fix misplaced paragraph
Fixes #51
1 parent 8fb87a3 commit 7fcf062

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Section 3 -- Type System.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -601,12 +601,6 @@ Union types have the potential to be invalid if incorrectly defined.
601601
Similarly, wrapping types may not be member types of a Union.
602602
2. A Union type must define two or more member types.
603603

604-
When expected as an input type, array input values are accepted only when each
605-
item in the input array can be accepted by the item type. If the input value is
606-
not an array but can be accepted by the item type, it is coerced by creating an
607-
array with the input value as the sole item. Other input values must raise a
608-
query error indicating an incorrect type.
609-
610604
### Enums
611605

612606
GraphQL Enums are a variant on the Scalar type, which represents one of a
@@ -682,8 +676,8 @@ implementation.
682676

683677
**Input Coercion**
684678

685-
When accepted as an input, each item in the list should be coerced as per
686-
the input coercion of the item type.
679+
When expected as an input, list values are accepted only when each item in the
680+
list can be accepted by the list's item type.
687681

688682
If the value passed as an input to a list type is *not* as list, it should be
689683
coerced as though the input was a list of size one, where the value passed is

0 commit comments

Comments
 (0)