Should I abstract the validation framework from Domain layer?

Just like the repository abstraction? Well, I see a few problems with your design even if you shield your domain from the framework by declaring an IUserValidator interface. At first, it seems like if that would lead to the same abstraction strategy as for the Repository and other infrastructure concerns, but there’s a huge difference … Read more