-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous structure was pretty neat, while this is decidedly not. What this new solution has going for it, is that it's dumb. This is good, because `ValidationError` will soon need to be able to represent validation errors from multiple sources, and making the previous smart `ValidationError` event smarter, soon enough runs into limitations of Rust's type system. This new dumb solution, on the other hand, effortlessly scales to the new requirements.
- Loading branch information
1 parent
52b411e
commit 43b9a90
Showing
3 changed files
with
60 additions
and
44 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