#ZodValidator not working as supposed to
13 messages · Page 1 of 1 (latest)
zod schema is used only for validation, it does not modify any values or types
Yeah but you can't submit successfully not validated data right?
So we can infer that type
Data is validated, type is not inferred
Do you plan to change that? Do you think that this approach is good?
I love your work and form hook. I love also typesafety and I'd love to see that strict zod integration in some form hook
It will not be changed, for this to work form will need to rely on zod as peer dependnecy which I want to avoid
Oh I see
use as const in intialValues