Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created October 8, 2020 10:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
type Query {
User(id: String): User
}
type Mutation {
createUser(
email: String,
firstName: String,
lastName: String,
password: String,
): User
}
type User {
id: String!
email: String!
firstName: String!
lastName: String!
password: String!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment