Skip to content

Commit b9a8b2d

Browse files
committed
refactor(codegen): migrate Zod/Valibot generators to thin SchemaFormatter adapters
Both generators now implement SchemaFormatter and delegate all shared logic to SchemaCore, reducing each from ~780 lines to ~175 lines. Also fixes a Valibot API correctness bug: non-empty required strings now emit v.pipe(v.string(), v.minLength(1)) instead of the invalid v.string().min(1) (Valibot does not support method chaining).
1 parent cc9cc34 commit b9a8b2d

File tree

2 files changed

+245
-1358
lines changed

2 files changed

+245
-1358
lines changed

0 commit comments

Comments
 (0)