Skip to content

Commit 24c3d2f

Browse files
committed
Forbid to implement same same interface twice
1 parent 802de27 commit 24c3d2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/Section 3 -- Type System.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@ of rules must be adhered to by every Object type in a GraphQL schema.
539539
no two fields may share the same name.
540540
3. Each field of an Object type must not have a name which begins with the
541541
characters {"__"} (two underscores).
542-
4. An object type must be a super-set of all interfaces it implements:
542+
4. An object type may declare that it implements one or more unique interfaces.
543+
5. An object type must be a super-set of all interfaces it implements:
543544
1. The object type must include a field of the same name for every field
544545
defined in an interface.
545546
1. The object field must be of a type which is equal to or a sub-type of

0 commit comments

Comments
 (0)