Skip to content

Instantly share code, notes, and snippets.

@AlecAivazis
Created January 26, 2019 23:23
Show Gist options
  • Save AlecAivazis/be865858c79917905dc7e3bd5836b7ed to your computer and use it in GitHub Desktop.
Save AlecAivazis/be865858c79917905dc7e3bd5836b7ed to your computer and use it in GitHub Desktop.
enum Species {
Dog
Cat
}
type Animal {
species: Species
breed: String!
}
type Photo {
animal: Animal
url: String!
owner: User!
auction: Auction!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment