chrishoermann / zod-prisma-types

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

Improve self-reference workaround (fixes #180) #181

Closed datagutt closed 8 months ago

datagutt commented 10 months ago

Hi, I recently found an issue (https://github.com/chrishoermann/zod-prisma-types/issues/180) where certain files were missing imports. I managed to create a quick fix for this.

nbibler commented 8 months ago

I'm seeing the same issue in an application and this PR does look to correct the problem. 👍

chrishoermann commented 8 months ago

This should be working in 2.7.10 now. Can you please check on your end?

nbibler commented 8 months ago

LGTM. 👍