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

Create single ValidationContext and remove mutability from validators #390

Merged
merged 4 commits into from
Feb 1, 2018

Conversation

twsouthwick
Copy link
Member

This simplifies some of the validation logic and removes more mutability. There's probably some more that can be addressed later, but this creates a single ValidationContext to track errors and whether or not validation is cancelled. By doing this, a number of eventing patterns can be removed, which should help a bit with performance on large validation scenarios.

@twsouthwick
Copy link
Member Author

This is a continuation of #388

@twsouthwick twsouthwick merged commit d663333 into dotnet:master Feb 1, 2018
@twsouthwick twsouthwick deleted the validation-context branch February 1, 2018 17:46
@twsouthwick twsouthwick added this to the v2.9 milestone Apr 10, 2018
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.

None yet

2 participants