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
Nested predicates #29
Comments
A couple caveats:
|
|
This should be removed
What's a "nested predicate"?
Yes, because constraints != validation
Could you explain a bit more? :) |
This is functionality specific to dry-types. in dry-validation DSL is gazillion times more complex due to all kinds of additional features that dry-v has. |
I see. probably the best way is to implement |
I don't think we'll ever do this. Closing for now. Feel free to bring this up again on our discussion forum. |
Can we build predicate which can validate attributes against nested predicates?
It'd be useful for Dry::Struct, something like:
Of course, we can invent better DSL
The text was updated successfully, but these errors were encountered: