Custom error messages with drizzle-zod?
Hey there!
Does somebody know how to add custom error messages to a schema created via
createInsertSchema? I know I can refine the schema by passing an object as the second argument, but since the error messages are part of the actual type definition, I would be repeating myself like so: