Replies: 1 comment
-
Link to zod recursive types: https://github.com/colinhacks/zod/tree/v3?tab=readme-ov-file#recursive-types |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I convert this type to a json-joy schema?
I have two problems:
When I try to do it by just using types without the schema builder:
I get an error:
I checked how zod (a TypeScript schema library) is doing it and they do it asynchronously.
https://github.com/colinhacks/zod#recursive-types
Beta Was this translation helpful? Give feedback.
All reactions