Skip to content

Instantly share code, notes, and snippets.

@dbayarchyk
Last active September 22, 2019 09:32
Show Gist options
  • Save dbayarchyk/16f7342fcbd6d62a98d4e2c875356633 to your computer and use it in GitHub Desktop.
Save dbayarchyk/16f7342fcbd6d62a98d4e2c875356633 to your computer and use it in GitHub Desktop.
Improve your GraphQL schema with the Relay Specification - PostsQuery.gql
query PostsQuery {
posts(first: 1) {
pageInfo {
hasNextPage
hasPreviousPage
}
edges {
cursor
node {
id
title
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment