Skip to content

Commit 7170d82

Browse files
committed
Interface fields do not need to be implemented in order.
1 parent d7d9e37 commit 7170d82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 3 -- Type System.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ GraphQL supports two abstract types: interfaces and unions.
310310

311311
An `Interface` defines an ordered set of fields; `Object` types and other
312312
Interface types which implement this Interface are guaranteed to implement those
313-
fields. Whenever a field claims it will return an Interface type, it will return
314-
a valid implementing Object type during execution.
313+
fields (in any order). Whenever a field claims it will return an Interface type,
314+
it will return a valid implementing Object type during execution.
315315

316316
A `Union` defines a set of possible types; similar to interfaces, whenever the
317317
type system claims a union will be returned, one of the possible types will be

0 commit comments

Comments
 (0)