Created
August 17, 2018 03:42
-
-
Save ldiebold/fa2b0ce3fd144142719a1bc2789757e3 to your computer and use it in GitHub Desktop.
basic graphql query
This file contains 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 | |
{ | |
hero { | |
name | |
} | |
} | |
// result | |
{ | |
"data": { | |
"hero": { | |
"name": "R2-D2" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment