GraphQL Bindings GraphQL server for examples
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
src
.babelrc
.gitignore
CHANGELOG.md
README.md
package.json
typeDefs.js
yarn.lock

README.md

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