drizzle-zod refine enum
Here's my users table and the schema generated with
drizzle-zod
that I want to modify. As you can see, the role column is an enum, but I want to modify the error message as I did with email and password. I've tried several solutions but nothing works, could you help me?
1 Reply
I think schema.role.describe does that, I'm not sure tho