File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -601,12 +601,6 @@ Union types have the potential to be invalid if incorrectly defined.
601
601
Similarly, wrapping types may not be member types of a Union.
602
602
2 . A Union type must define two or more member types.
603
603
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
-
610
604
### Enums
611
605
612
606
GraphQL Enums are a variant on the Scalar type, which represents one of a
@@ -682,8 +676,8 @@ implementation.
682
676
683
677
** Input Coercion**
684
678
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.
687
681
688
682
If the value passed as an input to a list type is * not* as list, it should be
689
683
coerced as though the input was a list of size one, where the value passed is
You can’t perform that action at this time.
0 commit comments