Commit b9a8b2d
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- lib/ash_typescript/codegen
2 files changed
+245
-1358
lines changed
0 commit comments