Skip to content

Commit ce8c732

Browse files
committed
Unions are ordered.
1 parent 602d319 commit ce8c732

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
@@ -1350,10 +1350,10 @@ UnionMemberTypes :
13501350
- UnionMemberTypes | NamedType
13511351
- = `|`? NamedType
13521352

1353-
GraphQL Unions represent an object that could be one of a set of GraphQL Object
1354-
types, but provides for no guaranteed fields between those types. They also
1355-
differ from interfaces in that Object types declare what interfaces they
1356-
implement, but are not aware of what unions contain them.
1353+
GraphQL Unions represent an object that could be one of an ordered set of
1354+
GraphQL Object types, but provides for no guaranteed fields between those types.
1355+
They also differ from interfaces in that Object types declare what interfaces
1356+
they implement, but are not aware of what unions contain them.
13571357

13581358
With interfaces and objects, only those fields defined on the type can be
13591359
queried directly; to query other fields on an interface, typed fragments must be

0 commit comments

Comments
 (0)