Skip to content

Instantly share code, notes, and snippets.

@adrianhall
Last active November 20, 2018 21:12
Show Gist options
  • Select an option

  • Save adrianhall/8b080f60582cd5bdf8940dd5712f35da to your computer and use it in GitHub Desktop.

Select an option

Save adrianhall/8b080f60582cd5bdf8940dd5712f35da to your computer and use it in GitHub Desktop.
input PagingRequest {
limit: Int
nextToken: String
}
type User {
id: ID!
name: String!
email: String
locations(paging: PagingRequest): LocationPagingConnection
reviews(paging: PagingRequest): ReviewPagingConnection
favorites(paging: PagingRequest): LocationPagingConnection
}
type LocationPagingConnection {
items: [Location]
nextToken: String
}
type ReviewPagingConnection {
items: [Review]
nextToken: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment