Skip to content

Instantly share code, notes, and snippets.

@dbayarchyk
Last active September 22, 2019 09:32
Show Gist options
  • Save dbayarchyk/3c9a7ca716cd82459a89c2942f048829 to your computer and use it in GitHub Desktop.
Save dbayarchyk/3c9a7ca716cd82459a89c2942f048829 to your computer and use it in GitHub Desktop.
Improve your GraphQL schema with the Relay Specification - PostQueryByNode.gql
query ($id: ID!){
node(id: $id) {
id
... on Post {
title
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment