kristianmandrup / schema-to-yup

Schema to Yup validation
Other
283 stars 50 forks source link

Add yup custom locale dictionary support #89

Closed gabrielburich closed 2 years ago

gabrielburich commented 3 years ago

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.

gabrielburich commented 3 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.

gabrielburich commented 2 years ago

Apparently the lib is no longer being maintained

kristianmandrup commented 2 years ago

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.

gabrielburich commented 2 years ago

Thank you!