Closed gabrielburich closed 2 years ago
I open a pull-request to solve this https://github.com/kristianmandrup/schema-to-yup/pull/90
Added a locale property to the configuration object. If it is informed, the locale is set in yup.
Apparently the lib is no longer being maintained
Hi @gabrielburich, sorry about that. I will now merge all the PRs from dependabot and the PRs made by you and others, then make a fresh new release with the updates.
Thank you!
Currently lib is not supporting yup setLocale. The previously set locale does not work in the schema built by the lib.
Support this is important to reuse messages and can be used to support multiple languages.