Last active
September 22, 2019 09:32
-
-
Save dbayarchyk/16f7342fcbd6d62a98d4e2c875356633 to your computer and use it in GitHub Desktop.
Improve your GraphQL schema with the Relay Specification - PostsQuery.gql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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