timkindberg / timkindberg/formframe
Zod input: expand lazy recursive schemas safely
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 4
Description
zodToTree currently treats z.lazy schemas as plain string fields and never invokes the lazy getter. Define finite expansion, cycle handling, and identity semantics before compiling recursive Zod graphs into the form tree.
Relationships
- Discovered from:
jsonschema-form-5ss.6(closed in bd, not migrated)
bd: jsonschema-form-fng
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the zodToTree entry point and trace how z.lazy schemas are currently handled. Define finite expansion, cycle handling, and identity semantics for recursive Zod graphs before compiling them into the form tree. Done means recursive schemas expand safely instead of being treated as plain string fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100