Skip to content

Commit

Permalink
Forbid to implement same same interface twice
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Feb 14, 2017
1 parent 802de27 commit 24c3d2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,8 @@ of rules must be adhered to by every Object type in a GraphQL schema.
no two fields may share the same name.
3. Each field of an Object type must not have a name which begins with the
characters {"__"} (two underscores).
4. An object type must be a super-set of all interfaces it implements:
4. An object type may declare that it implements one or more unique interfaces.
5. An object type must be a super-set of all interfaces it implements:
1. The object type must include a field of the same name for every field
defined in an interface.
1. The object field must be of a type which is equal to or a sub-type of
Expand Down

0 comments on commit 24c3d2f

Please sign in to comment.