Hi everyone! I'm just getting started with prisma and its awesome! I'm using the prisma introspect command on a mongodb and it generates the graphql endpoint! Is there anyway that I can get my hands on the generated code? I would like to add some custom resolvers
n
nuno
05/24/2019, 10:39 AM
I don't understand your question.
prisma introspect
generates a prisma datamodel from an existing database. To create custom resolvers you should create your own GraphQL server.
m
Mike
05/25/2019, 2:18 AM
Thanks for the reply 😃 With prisma client I can customize my own resolvers. I got tunnel vision and the generated "Client" code I thought was for front-end applications to consume the graphql endpoint. Turns out its part of the server!