You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Peter.
I'm trying to use this library, but I have a validator for a base interface and two different implementation classes, so that my situation is something like:
public class MyValidator : AbstractValidator<IBaseInterface> {...}
And then I have two 'validatable' classes like in:
public class A : IBaseInterface {...}
public class B : IBaseInterface {...}
I think that the automatic discovery you implemented in this library records only the direct types, so when I have a Blazor form based on an instance of class A, for example, I see that validation doesn't automatically kick in.
I would like to have the possibility to register manually custom behaviors like this case, something like:
Hi Peter.
I'm trying to use this library, but I have a validator for a base interface and two different implementation classes, so that my situation is something like:
public class MyValidator : AbstractValidator<IBaseInterface> {...}
And then I have two 'validatable' classes like in:
I think that the automatic discovery you implemented in this library records only the direct types, so when I have a Blazor form based on an instance of class A, for example, I see that validation doesn't automatically kick in.
I would like to have the possibility to register manually custom behaviors like this case, something like:
...unless I have some other error that I don't see, of course... :-)
Thank you (again :-) )
Andrea
The text was updated successfully, but these errors were encountered: