You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Add ability to mark field "required", even if it is optional in prisma schema (with ? mark)
Is your feature request related to a problem? Please describe.
Add ability to mark field "required", even if it is optional in prisma schema (with
?
mark)results in:
but desired:
Describe the solution you'd like
@zod.custom.use()
should not implicitly add.optional()
or.nullish()
to the end of type@zod.[...].required()
will not make this field nullishDescribe alternatives you've considered
Extending a scheme and overwriting this field's type
The text was updated successfully, but these errors were encountered: