Skip to content

Commit

Permalink
Forbid to define duplicated member types in Union (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored and leebyron committed Apr 27, 2017
1 parent e47458f commit d287a43
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 @@ -752,7 +752,7 @@ Union types have the potential to be invalid if incorrectly defined.
1. The member types of a 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 one or more member types.
2. A Union type must define one or more unique member types.

### Enums

Expand Down

0 comments on commit d287a43

Please # to comment.