GraphQL Binding for an example Prisma Service
The schema that this binding represents is shown below:
type Query {
user(id: ID!): User
users: [User!]!
}
type Mutation {
createUser(name: String!): User!
updateUser(id: ID!, name: String!): User
deleteUser(id: ID!): User
}
type Subscription {
userCreated: User!
}
type User {
id: ID!
name: String!
}