Last active
June 18, 2019 07:56
-
-
Save chnirt/0828c68303f18571c44125195dfc21e6 to your computer and use it in GitHub Desktop.
NestJs
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
type User { | |
_id: String! | |
username: String! | |
password: String! | |
} | |
input UserInput { | |
username: String! | |
password: String! | |
} | |
type Query { | |
hello: String! | |
users: [User!] | |
} | |
type Mutation { | |
createUser(input: UserInput!): User | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment