Last active
August 9, 2018 17:25
-
-
Save ldiego08/4d4437d1c2f9b94befe1b17010b685c6 to your computer and use it in GitHub Desktop.
Layman GQL - User Roles 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 { | |
user(id: 2) { | |
id | |
login | |
roles { # also fetch roles | |
id # .. and their id | |
name # .. and their name | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment