This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dm-validations] Return unique set of validation errors
* Original idea was to not take options into account in GenericValidator#==, because they often do not matter * It did not work out well: when you enable inferred length validation for string, but want to later explicitly declare one with Range, both should be added or explicit one won't work * Given possiblility of annoying duplicates in error messages because of "duplicated" validations, we have to "quick fix" it by simply returning an unique set [#671 state:resolved]
- Loading branch information
1 parent
ef96417
commit 21c8b6d
Showing
4 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters