[drizzle-zod] How to make all fields of a schema derived from a table required ?
I just tried the plugin and I'm happy to move from manually creating zod schemas.
However, I came into a use case where a schema must have all nullable fields in the table required.
Assume we have these in users table:
The generated schema will have this type
Is there a way to make it like this ?
However, I came into a use case where a schema must have all nullable fields in the table required.
Assume we have these in users table:
The generated schema will have this type
Is there a way to make it like this ?