Skip to content
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

refactor CompositeValidator and CompositeValidationResult #416

Merged
merged 1 commit into from
Jul 4, 2016

Conversation

manuel-mauky
Copy link
Collaborator

Due to a change in 1.5.1 it wasn't possible to use subclasses of ValidationMessage together with CompositeValidator anymore.
The reason was an internal refactoring of the CompositeValidationResult class.
In this commit the class was refactored again and now uses another logic to both fix the original bug and still make
usage of custom ValidationMessage types possible.

Fix for #415

Due to a change in 1.5.1 it wasn't possible to use subclasses of ValidationMessage together with CompositeValidator anymore.
The reason was an internal refactoring of the CompositeValidationResult class.
In this commit the class was refactored again and now uses another logic to both fix the original bug and still make
usage of custom ValidationMessage types possible.

Fix for #415
@manuel-mauky manuel-mauky merged commit cdd9664 into develop Jul 4, 2016
@manuel-mauky manuel-mauky deleted the 415_composite_validator_message_type branch September 25, 2017 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant