validationErrors should have the type array((field, string)) not array((field, fieldState)) doesn't make sense to have the full fieldState type if you specifically want the errors
we are heavily using Array.keep whereas the best practices are to use something like Belt.Map or a ListAssoc
array((field, string))
notarray((field, fieldState))
doesn't make sense to have the fullfieldState
type if you specifically want the errors