chrishoermann / zod-prisma-types

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

Added support for pipe in regex #167

Closed justinforlenza closed 11 months ago

justinforlenza commented 11 months ago

This resolves #166

I tweaked the VALIDATOR_TYPE_REGEX to add except the pipe |

I also added an example to the usage/prisma.schema package

chrishoermann commented 11 months ago

Thanks for the PR. added the pipe in some other regexes too. should work now in 2.7.7