chrishoermann / zod-prisma-types

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

[BUG] zod-prisma-types generated broken code #245

Open goern opened 3 months ago

goern commented 3 months ago

Describe the bug https://codeberg.org/feeldata/feeldata.app/issues/16

Screenshots n/a

Package versions (please complete the following information):

        "@prisma/client": "^5.10.2",
        "@prisma/extension-accelerate": "^0.6.3",
        "zod": "^3.22.4",
        "zod-prisma-types": "^3.1.6"

Additional context Add any other context about the problem here.

nordowl commented 3 months ago

That is a known bug. You can find possible workarounds in the comments of this issue: https://github.com/chrishoermann/zod-prisma-types/issues/235