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>; // number
Is there any way to achieve this with Valita or is this feature planned ?
Regards
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 :
Is there any way to achieve this with Valita or is this feature planned ?
Regards