chrishoermann / zod-prisma-types

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

[BUG] 3.1.3 breaks inputTypeSchemas barrel file when createInputTypes = false #208

Closed controversial closed 7 months ago

controversial commented 7 months ago

Describe the bug After updating from 3.1.2 to 3.1.3, my build breaks because inputTypeSchemas/index.ts now writes export ... from statements for hundreds of files that were not generated.

Screenshots

Screenshot 2023-11-10 at 5 37 39 PM

Package versions (please complete the following information):

Additional context I have:

generator zod {
  provider = "zod-prisma-types"
  output = "generated/zod"
  useMultipleFiles = true
  createInputTypes = false
}