@@ -575,14 +575,14 @@ fragment conflictingDifferingResponses on Pet {
575
575
576
576
- For each {selection} in the document:
577
577
- Let {selectionType} be the result type of {selection}.
578
- - If {selectionType} is a scalar or enum or list of these types:
578
+ - If {selectionType} is a scalar, enum or list of those types:
579
579
- The subselection set of that selection must be empty.
580
- - If {selectionType} is an interface, union, or object or list of these types:
580
+ - If {selectionType} is an interface, union, object or list of those types:
581
581
- The subselection set of that selection must NOT BE empty.
582
582
583
583
** Explanatory Text**
584
584
585
- Field selections on scalars or enums are never allowed, because they are the
585
+ Field selections on scalars, enums or list of those types are never allowed, because they are the
586
586
leaf nodes of any GraphQL operation.
587
587
588
588
The following is valid.
@@ -604,8 +604,8 @@ fragment scalarSelectionsNotAllowedOnInt on Dog {
604
604
```
605
605
606
606
Conversely the leaf field selections of GraphQL operations must be of type
607
- scalar or enum . Leaf selections on objects, interfaces, and unions without
608
- subfields are disallowed.
607
+ scalar, enum, or list of those types . Leaf selections on objects, interfaces, unions
608
+ or list of those types without subfields are disallowed.
609
609
610
610
Let's assume the following additions to the query root operation type of the
611
611
schema:
0 commit comments