File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1146,9 +1146,9 @@ interface. Querying for `age` is only valid when the result of `entity` is a
1146
1146
**Interfaces Implementing Interfaces **
1147
1147
1148
1148
When defining an interface that implements another interface , the implementing
1149
- type must define each field that is specified by the implemented interface . For
1150
- example , the interface Resource must define the field id to implement the Node
1151
- interface :
1149
+ interface must define each field that is specified by the implemented interface .
1150
+ For example , the interface Resource must define the field id to implement the
1151
+ Node interface :
1152
1152
1153
1153
```raw graphql example
1154
1154
interface Node {
@@ -1392,7 +1392,7 @@ type Article implements Resource {
1392
1392
title : String
1393
1393
}
1394
1394
1395
- type Image implements Resource {
1395
+ type Photo implements Resource {
1396
1396
url : String
1397
1397
height : Int
1398
1398
width : Int
@@ -1435,7 +1435,7 @@ Union types have the potential to be invalid if incorrectly defined.
1435
1435
2. The member types of a Union type must all be Object base types ; Scalar ,
1436
1436
Interface and Union types must not be member types of a Union . Similarly ,
1437
1437
wrapping types must not be member types of a Union .
1438
- 3. An union type may declare that it implements one or more unique interfaces .
1438
+ 3. A union type may declare that it implements one or more unique interfaces .
1439
1439
4. Each member of a union must be a super -set of all union -implemented
1440
1440
interfaces :
1441
1441
1. Let this union type be {implementingType }.
You can’t perform that action at this time.
0 commit comments