Last active
August 29, 2015 14:25
-
-
Save frikille/1d78042d1546f86f6119 to your computer and use it in GitHub Desktop.
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
// Getting a post with its title, author, blocks, likes and comments | |
post(id: 123) { | |
title, | |
author { | |
username, | |
avatar_url | |
}, | |
blocks { | |
type, | |
text, | |
html, | |
route, | |
images { | |
original_url | |
} | |
}, | |
likes { | |
user { | |
id, | |
username | |
} | |
}, | |
comments { | |
text, | |
user { | |
username, | |
avatar_url | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment