chrishoermann / zod-prisma-types

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

Add back missing conditional for “input type” barrel exports #209

Closed controversial closed 7 months ago

controversial commented 7 months ago

The conditional was removed in 9360d31 erroneously (?)

This results in broken “barrel export” files inside inputTypeSchemas when createInputTypes is set to false, since the barrel file contains exports to files that were not created.

Fixes https://github.com/chrishoermann/zod-prisma-types/issues/208