Last active
May 26, 2016 22:44
-
-
Save schickling/a26ef1289c3f8ab70e610db309c9b499 to your computer and use it in GitHub Desktop.
Connections, Edges & Nodes in Relay (Relay Request + Response)
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
{ | |
movie(title: "Inception") { | |
releaseDate | |
actors(first: 10) { | |
edges { | |
node { | |
name | |
} | |
} | |
} | |
} | |
} |
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
{ | |
"releaseDate": "2010-08-29T12:00:00Z", | |
"actors": { | |
"edges": [{ | |
"node": { | |
"name": "Leonardo DiCaprio" | |
} | |
}, { | |
"node": { | |
"name": "Ellen Page" | |
} | |
}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment