You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
implements (see [Unions Implementing Interfaces](#sec-Unions.Unions-Implementing-Interfaces)). Otherwise, type refining fragments or inline fragments must be used.
1318
1317
1319
1318
For example, we might define the following types:
1320
1319
@@ -1399,6 +1398,22 @@ type Photo implements Resource {
1399
1398
}
1400
1399
```
1401
1400
1401
+
Thefollowingquerywouldthenbevalid:
1402
+
1403
+
```graphqlexample
1404
+
{
1405
+
firstSearchResult {
1406
+
url
1407
+
...onArticle {
1408
+
title
1409
+
}
1410
+
...onPhoto {
1411
+
height
1412
+
}
1413
+
}
1414
+
}
1415
+
```
1416
+
1402
1417
Transitivelyimplementedinterfaces (interfaces implemented by the interface
1403
1418
that is being implemented) mustalsobedefinedontheimplementingunion. For
1404
1419
example, `SearchResult` cannotimplement `Resource` withoutalsoimplementing
0 commit comments