From 90784b462cc19a19653a6aa7c83a194161095174 Mon Sep 17 00:00:00 2001 From: Lee Byron Date: Thu, 13 Aug 2015 19:18:53 -0700 Subject: [PATCH] Fix incongruity between spec and reference impl, favor stricter interpretation --- spec/Section 3 -- Type System.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/Section 3 -- Type System.md b/spec/Section 3 -- Type System.md index 532188b7d..0f95a4248 100644 --- a/spec/Section 3 -- Type System.md +++ b/spec/Section 3 -- Type System.md @@ -408,12 +408,12 @@ of rules must be adhered to by every Object type in a GraphQL schema. 2. 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 include an argument of the same name for every - argument defined by the interface field. + 1. The object field must be of a type which is equal to the + interface field (invariant). + 2. The object field must include the exact same set of named arguments as + defined by the interface field. 1. The object field argument must accept the same type (invariant) as the interface field argument. - 2. The object field must be of a type which is equal to - the interface field. ### Interfaces