Skip to content

Commit 972fd5a

Browse files
committed
Fix Union validation rule. Unions only require one member type
1 parent 58f00c8 commit 972fd5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/Section 3 -- Type System.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ Union types have the potential to be invalid if incorrectly defined.
599599
1. The member types of an Union type must all be Object base types;
600600
Scalar, Interface and Union types may not be member types of a Union.
601601
Similarly, wrapping types may not be member types of a Union.
602-
2. A Union type must define two or more member types.
602+
2. A Union type must define one or more member types.
603603

604604
### Enums
605605

0 commit comments

Comments
 (0)