How do we add mutation from generated `prisma.grap...
# orm-help
w
How do we add mutation from generated
prisma.graphql
to
schema.graphql
? I've tried
Copy code
# import * from '../generated/prisma.graphql'
type Mutation {
  updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User
}
d
are you using prisma-client or prisma-binding?
FWIW I had lots of issues with graphqlgen and prisma-bindings. I switched to prisma-client and everything just worked.
w
im using graphql-yoga, and graphqlgen for scaffolding the resolvers. when i downgraded the package it worked. this question was mainly about how to import/expose single mutation from the main schema to the app schema.