I have a prisma model that is defined as bytes. By using this generator, the zod schema validator is generating a wrong z.instanceOf(Buffer) instead z.instanceof(Buffer) by displaying this error
Property 'instanceOf' does not exist on type 'typeof import("/home/user/projects/api/node_modules/nestjs-zod/z")'. Did you mean 'instanceof'?ts(2551)
Hi,
I have a prisma model that is defined as bytes. By using this generator, the zod schema validator is generating a wrong
z.instanceOf(Buffer)
insteadz.instanceof(Buffer)
by displaying this errorThis is occuring by using the library versions:
prisma
: 5.1.1@prisma/client
: 5.1.1nestjs-zod
: 2.3.3nestjs-zod-prisma
: 3.0.1