Southclaws / supervillain

Converts Go structs to Zod schemas
MIT License
77 stars 6 forks source link

Fix duplicate inline fields #18

Closed m4tty-d closed 2 months ago

m4tty-d commented 2 months ago

I found another edge case around inline struct handling.

If an inline struct contained a field with the same name as a field in the parent struct it would result in duplicate fields in the generated zod schemas.