-
Notifications
You must be signed in to change notification settings - Fork 18
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
IValidot interface #28
Comments
Hi @adambajguz , thank you for contribution. Since it's a breaking change, I need to spend more time considering all aspects of it. Could you be more specific and provide an example where such generic-less |
Hi @bartoszlenar, |
It would be useful to have a
IValidator
interface withobject
basedIsValid
andValidate
methods. Also the new interface can expose aSpecifiedType
property to easily access the type the validator is validating. This new interface will allow a non-generic code (e.g. in ASP.NET Core) to easily validate models.The text was updated successfully, but these errors were encountered: