-
Notifications
You must be signed in to change notification settings - Fork 32
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
[Question] dealing with parent children relationship #100
Comments
Hi! Thanks for the feedback! |
sounds good thanks :) |
@davidchase I will finally have the time to look into the this, this week! |
@busypeoples cool sounds good, let me know what you come up with :) |
Here's a possible way to tackle the problem.
|
yeah thats a good one, i tried it out with a multimap structure in order to avoid passing in the context twice. |
👋this library has been awesome for validating properties both static and dynamic which is great so thanks!
my question has there been any thoughts when for example you need to find duplicates
from the docs:
we can easily validate the children individual properties such as
firstName
,lastName
but in order to find the duplicates between each
users.one.firstName
,users.two.firstName
, etc child we need the actualusers
object to compare each childthe only thing i can think of is maybe updating the
validationRules
forusers
to pre-process the input and then pass the function to merge with the existinguserSpec
dont know if anyone else had a similar experience so i thought i would ask
cheers
The text was updated successfully, but these errors were encountered: