-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi there,
We really wanted to use your lib over Zod (for performance reasons), but this is the only feature that we miss here on Valita :
const stringToNumber = z.string().transform((val) => val.length);
type input = z.input<typeof stringToNumber>; // string
type output = z.output<typeof stringToNumber>; // numberIs there any way to achieve this with Valita or is this feature planned ?
Regards
jordan-boyer, ozgb and ArnaudBarreIlyaSemenov
Metadata
Metadata
Assignees
Labels
No labels