drizzle-zod object scoped refine

I would like to check an objects multiple columns. For example whether password field is equal to confirmPassword filed. With zod it was a .refine() after a z.object(), but I cant get it work with createInsertSchema() Is there any workaround to work with react hook forms?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server