chrishoermann / zod-prisma-types

Generator creates zod types for your prisma models with advanced validation
Other
578 stars 43 forks source link

Option to disable adding `.strict()` to schemas. #236

Open bostjanpisler opened 5 months ago

bostjanpisler commented 5 months ago

Is your feature request related to a problem? Please describe. I would like to extend the created schemas with .merge and .omit which is not possible for schemas with .strict()

Describe the solution you'd like Allow adding optional disableAddingStrict = true to generator Client to disable .strict() on all schemas.