type Species {
name: String! @id
animals: [Animal!]! @hasInverse(field: species)
}
type Animal {
name: String!
species: Species!
}
How do I make animal name unique within species? So that I can allow only one dog named Bob, but also one cat with the same name.