These are chat archives for dry-rb/chat
Next-gen ruby libs! » github.com/dry-rb » website: https://dry-rb.org » forum: https://discourse.dry-rb.org
Hi, I'm trying out dry-validation again, this time on the master branch. I'm setting up password confirmation validation and I'm getting some unexpected error messages. It appears that when rules (assuming
key is also registered as a rule) have the same name all validations are returned when one rule fails. I've set up a demo: https://gist.github.com/tombruijn/c24c594b12d2a97f7f7b
In the second example I don't expect the "password_confirmation must be filled" message as the key is actually filled.