In GraphQL can an object type belong to multiple union types?
type Foo {
id: String!
}
type Bar {
number: Int!
}
union UnionA = Foo | Bar
union UnionB = Foo
Yes, an object type can belong to any number of union types. There's nothing in the spec that explicitly prohibits that.