Created
September 28, 2017 04:25
-
-
Save aofleejay/6279babcb8838f6dcdd02fd58db24337 to your computer and use it in GitHub Desktop.
GraphQL with description at type, field and arguments
This file contains hidden or 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
# root query | |
type Query { | |
# query user by id | |
user( | |
# user id | |
id: String | |
): User | |
# query users | |
users: [User] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment