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
// Subgraph A
interface Media @key(fields: "id") {
id: ID!
title: String!
}
type Book implements Media @key(fields: "id"){
id: ID!
title: String!
}
// Subgraph B
type Media @key(fields: "id", resolvable: false) @interfaceObject {
id: ID!
}
type Query {
numberOneMedia: Media!
}
The text was updated successfully, but these errors were encountered:
It would be nice to have non-resolvable
@interfaceObject
to reference an interface without contributing a field. Similar to the regular Entities https://www.apollographql.com/docs/federation/entities/#referencing-an-entity-without-contributing-fieldsThe text was updated successfully, but these errors were encountered: