Closed cerinoligutom closed 1 year ago
This sadly is not possible, because many generated schemas rely on the imported Prisma
type to work correctly.
I see. Would've been nice for an option to make it decoupled or opt-in to Prisma Client since I'm only opting for the models to be generated and the rest disabled (so no Prisma type dependency) but alright, guess we can close this issue. Thanks!
My use case is to use this library purely for generating zod schemas then use a different ORM or Query Builder which means I don't need
@prisma/client
.Seems like whatever I put on the
prismaClientPath
just gets interpolated to the import path but I'd want the import line removed.