This is more of a comment rather then a question, throwing it out so maybe one day some maintainer will take it into consideration.
The idea is in the title. Given that we write standard schema v1 validators and this is accepted in the validators property on the form (onSubmit), the onSubmit function should infer the type from that schema.
Inferring the type from defaultValues seems suboptimal. Sometimes we do not want to apply default values, especially to fields which we want to make the user input explicitly.
I do not see why we should apply default values since we already have this validators { onSubmit } guard which will not allow inputs to be passed into onSubmit function.
I am currently forced to implement defaultValues if i want to have type safety, OR do schema validation onSubmit so that the type is correct if i am not defining defaultValues.
Instead of this dance, why not just infer from Schema in the first place?
Cheers