-
-
Notifications
You must be signed in to change notification settings - Fork 542
Open
Description
Describe the bug
I am using a necessarily recursive schema for a feature to store logic as JSON. We're unable to actually have type validation due to the Type instantiation is excessively deep and possibly infinite error that shows up. I used the most recent zod syntax for the recursive schema as well.
Your minimal, reproducible example
Steps to reproduce
- Clone the StackBlitz
- Run
npm install - Open the +page.svelte file in your editor
Expected behavior
In my editor, I would like to still see type hints without type errors. I understand that type depth might be limited, but since I am using recursive components I am not actually managing this entirely in the UI.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
- OS: MacOS
- Browser: Chrome
TanStack Form adapter
None
TanStack Form version
v1.23.8
TypeScript version
v5.9.2
Additional context
I am using svelte-form, but that's not an option, you should add it to the TanStack Form adapter options for the GH issue form.
Metadata
Metadata
Assignees
Labels
No labels