Hi everyone! I'm just getting started with prisma ...
# orm-help
m
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
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
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!
👍 1