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 external class validators #67

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

Conversation

ejsmith
Copy link

@ejsmith ejsmith commented Oct 14, 2024

Adds support for defining IValidator<T> classes to provide validation for class types outside of the model class where you are unable to alter the target model or would prefer to keep the model classes simple and not have the IValidatableObject interface implementation.

@niemyjski
Copy link

@DamianEdwards would this be something you would consider merging. We found this much easier to convert our existing fluent validation while leaving our models clean.

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.

2 participants