Closed NazCodeland closed 1 year ago
Hey, I noticed that @zod.string.email() works but @zod.string.optional() doesn't work. Is there documentation on all the available zod validators available through prisma rich comments?
@zod.string.email()
@zod.string.optional()
/// @zod.custom.use(z.string().optional())
@zod.custom.use() is what I didn't understand.
@zod.custom.use()
Got it !
you can delete this issue.
Hey, I noticed that
@zod.string.email()
works but@zod.string.optional()
doesn't work. Is there documentation on all the available zod validators available through prisma rich comments?