We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Similar to #1127 it makes sense to allow overriding some rules to allow extending a base schema
const base = Joi.string().min(10) const short = base.min(3)
I think #1127 asked exactly that but for some reason the fix commit 674a59e ended up only fixing it for arrays
min/max/length and other rules that are unique per instance should only respect the last set value
I can try but I haven't touched Joi internals before so I'll probably need some guidance
The text was updated successfully, but these errors were encountered:
ee93679
hueniverse
No branches or pull requests
Describe the problem you are trying to fix (provide as much context as possible)
Similar to #1127 it makes sense to allow overriding some rules to allow extending a base schema
I think #1127 asked exactly that but for some reason the fix commit 674a59e ended up only fixing it for arrays
Which API (or modification of the current API) do you suggest to solve that problem ?
min/max/length and other rules that are unique per instance should only respect the last set value
Are you ready to work on a pull request if your suggestion is accepted ?
I can try but I haven't touched Joi internals before so I'll probably need some guidance
The text was updated successfully, but these errors were encountered: