-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Joi.object().or() does not support nested paths #1477
Comments
I'd like to work on this. Can I get assigned to it? |
I can't assign people outside of the org but sure. |
Marked another request as duplicate 👆, it was clear in my mind that it needed to happen on all the APIs but just stating it clearly. Need help @BolajiOlajide ? :) |
Hey @Marsup , I'm trying to figure a way to ensure my logic works regardless of how nested the object is. The raw implementation is done, just need to ensure everything works perfectly regardless. |
…-objects #1477 Add Support for nested path with Joi.object().or(), .nand(), .and(), .with(), .without(), .xor()
I believe this can be closed now @Marsup |
It will be when I merge v14 to master. |
And when is that going to be? 😏 |
Context
What are you trying to achieve or the steps to reproduce ?
I'm trying to use the
.or()
method on aJoi.object
with a reference to a nested key.Which result you had ?
What did you expect ?
I would expect the validation to pass and return the value
The text was updated successfully, but these errors were encountered: