Skip to content

Commit 2b57f35

Browse files
authored
Remove redundant union type validation rule (#464)
1 parent ea3c6ef commit 2b57f35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/Section 3 -- Type System.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,11 +1211,10 @@ Unions are never valid inputs.
12111211

12121212
Union types have the potential to be invalid if incorrectly defined.
12131213

1214-
1. A Union type must include one or more member types.
1214+
1. A Union type must include one or more unique member types.
12151215
2. The member types of a Union type must all be Object base types;
12161216
Scalar, Interface and Union types must not be member types of a Union.
12171217
Similarly, wrapping types must not be member types of a Union.
1218-
3. A Union type must define one or more unique member types.
12191218

12201219

12211220
### Union Extensions

0 commit comments

Comments
 (0)