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
[Schema] Implementing interfaces with covariant return types.
This proposes loosening the definition of implementing an interface by allowing an implementing field to return a subtype of the interface field's return type.
This example would previously be an illegal schema, but become legal after this diff:
```graphql
interface Friendly {
bestFriend: Friendly
}
type Person implements Friendly {
bestFriend: Person
}
```
0 commit comments