kristianmandrup / schema-to-yup

Schema to Yup validation
Other
283 stars 50 forks source link

typeError message handling #117

Closed rdano89 closed 2 years ago

rdano89 commented 2 years ago

Hi, how would you suggest us to handle typeError messages? It seems they are not supported?

kristianmandrup commented 2 years ago

Hi @rdano89, please explain what are typeError messages?

kristianmandrup commented 2 years ago

You should be able to do any sort of custom error handling via https://github.com/kristianmandrup/schema-to-yup#use-a-custom-error-message-handler. Also see https://github.com/kristianmandrup/schema-to-yup/issues/116