Skip to content

Commit 90784b4

Browse files
committed
Fix incongruity between spec and reference impl, favor stricter interpretation
1 parent 972fd5a commit 90784b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/Section 3 -- Type System.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,12 +408,12 @@ of rules must be adhered to by every Object type in a GraphQL schema.
408408
2. An object type must be a super-set of all interfaces it implements.
409409
1. The object type must include a field of the same name for every field
410410
defined in an interface.
411-
1. The object field must include an argument of the same name for every
412-
argument defined by the interface field.
411+
1. The object field must be of a type which is equal to the
412+
interface field (invariant).
413+
2. The object field must include the exact same set of named arguments as
414+
defined by the interface field.
413415
1. The object field argument must accept the same type (invariant) as
414416
the interface field argument.
415-
2. The object field must be of a type which is equal to
416-
the interface field.
417417

418418

419419
### Interfaces

0 commit comments

Comments
 (0)