Is there any way to access prisma client using `ne...
# orm-help
s
Is there any way to access prisma client using
nexus-plugin-prisma
outside of the normal context? i.e. in
<http://server.express.post|server.express.post>()
I have tried to include it seperately in my dependencies, but keeps throwing and initialization error on building.
I kinda cheated:
import { PrismaClient } from '../node_modules/@prisma/client'
but that's a pretty shit fix
m
what is your use case? webhooks or something?
s
Yeah, kinda, basically anything where I want to receive a request outside graphql and have access to data from Prisma