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

Add support for inversion control #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marinkobabic
Copy link
Contributor

We had a talk about support of inversion control some time ago. Now I would like to have it officially.

  • Multiple Containers are supported using ValidationContext
  • ValidationCatalog uses the Root Container
  • Specific Exceptions so that the consumer can handle them more specific
  • Updated all packages
  • If the Validation is used in a generic way to validate commands/model if there are specifications or not, the exception behavior should be controlled by settings. It may happen that there are no specifications and in this case an exception should not be raised. Default behavior is to raise the exceptions.

There are no breaking changes. If somebody does not use the inversion control all stuff still works properly. Hope you have time to merge it and to create a new nuget package in the next few days.

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