converting a recursive json schema into a zod type breaks #2508
Labels
bug
good first issue
Not necessarily easy, but doesn't require deep quicktype knowledge
input:JSON Schema
JSON Schema Input
TS Zod
TypeScript Zod Output
example self referential schema:
produces:
but it should be
https://github.com/colinhacks/zod#recursive-types
=> z.lazy(() => Mydef1Schema)
The text was updated successfully, but these errors were encountered: