graphql-binding-example

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i graphql-binding-example

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

104 kB

Total Files

8

Last publish

Collaborators

  • abhiaiyer