Skip to content

Commit 6886e39

Browse files
authored
Fix: Leaf Field Selections for enums must also be empty
1 parent 06614fb commit 6886e39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/Section 5 -- Validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ fragment conflictingDifferingResponses on Pet {
561561

562562
* For each {selection} in the document
563563
* Let {selectionType} be the result type of {selection}
564-
* If {selectionType} is a scalar:
564+
* If {selectionType} is a scalar or enum:
565565
* The subselection set of that selection must be empty
566566
* If {selectionType} is an interface, union, or object
567567
* The subselection set of that selection must NOT BE empty

0 commit comments

Comments
 (0)