Skip to content

Instantly share code, notes, and snippets.

@AlecAivazis
Last active January 26, 2019 23:26
Show Gist options
  • Save AlecAivazis/daf7d09b483e238c908e51f900c522fb to your computer and use it in GitHub Desktop.
Save AlecAivazis/daf7d09b483e238c908e51f900c522fb to your computer and use it in GitHub Desktop.
type User {
username: String!
history: [Bid]
favoritePhoto: Photo
photoGallery: [Photo]
}
type Auction {
photo: Photo
offers: [Bid]
highestOffer: Bid
}
type Bid {
user: User!
amount: Int!
}
type User {
username: String!
history: [Bid]
favoritePhoto: Photo
photoGallery: [Photo]
}
type Auction {
photo: Photo
offers: [Bid]
highestOffer: Bid
}
type Bid {
user: User!
amount: Int!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment