Skip to content
TypeScript
208 B
Raw Blame
type Query {
  pet(by: PetBy!): String
  pets(filter: PetFilter): [String!]
}

"""
Exactly one way to identify a pet.
"""
input PetBy @oneOf {
  id: ID
  name: String
}

input PetFilter {
  species: String
}