timkindberg / timkindberg/formframe

Zod input: expand lazy recursive schemas safely

Open
#89 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

p3 type:feature
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.