You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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? 😋
The text was updated successfully, but these errors were encountered:
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 thevalidate
method? 😋The text was updated successfully, but these errors were encountered: