0.1.0 • Published 7 years ago

graphql-binding-example v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

GraphQL Binding Example

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!
}