Skip to content

Commit 342b838

Browse files
rivantsovromanivantsovleebyron
authored
P34: implementing field type is either exact match or of covariant type (graphql#974)
* Fix: implementing field type is either exact match or covariant type * Match language in IsValidImplimentation Co-authored-by: Roman Ivantsov <roman.ivantsov@microsoft.com> Co-authored-by: Lee Byron <lee@leebyron.com>
1 parent ab865f9 commit 342b838

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spec/Section 4 -- Introspection.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,10 @@ Fields\:
316316
**Interface**
317317

318318
Interfaces are an abstract type where there are common fields declared. Any type
319-
that implements an interface must define all the fields with names and types
320-
exactly matching. The implementations of this interface are explicitly listed
321-
out in `possibleTypes`.
319+
that implements an interface must define all the named fields where each
320+
implementing field type is equal to or a sub-type of (covariant) the interface
321+
type. The implementations of this interface are explicitly listed out in
322+
`possibleTypes`.
322323

323324
Fields\:
324325

0 commit comments

Comments
 (0)