Skip to content

Commit

Permalink
Fix Union validation rule. Unions only require one member type
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Aug 13, 2015
1 parent 58f00c8 commit 972fd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ Union types have the potential to be invalid if incorrectly defined.
1. The member types of an Union type must all be Object base types;
Scalar, Interface and Union types may not be member types of a Union.
Similarly, wrapping types may not be member types of a Union.
2. A Union type must define two or more member types.
2. A Union type must define one or more member types.

### Enums

Expand Down

0 comments on commit 972fd5a

Please sign in to comment.