Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will joi-router add language support? #32

Closed
miserylee opened this issue Oct 19, 2016 · 4 comments
Closed

Will joi-router add language support? #32

miserylee opened this issue Oct 19, 2016 · 4 comments

Comments

@miserylee
Copy link

As in joi document, the validate method receives 4 params.
validate(value, schema, [options], [callback])

Some options in validation is useful like language - overrides individual error messages. Defaults to no override ({}). Messages apply the following rules :

So will joi-router add options support in the future when use the validate method? 😋

@miserylee
Copy link
Author

I'm Chinese, so in my app, I want to override the default language options to Chinese. That will be much helpful!

@aheckmann
Copy link
Member

good idea. please open a PR with a prototype.

@3imed-jaberi
Copy link
Member

@aheckmann, please close this issue it fixed with #119.

@aheckmann
Copy link
Member

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants