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
Things are little bit more complicated in IValitator<T> because here we would have to add generic interface like IValitator<TModel,TResult> and create abstract class which would take in the ctor Func<ValitResult, TResult>. But overall I think this would be very cool because folks can add Valit to their projects without changing the existing infrastructure related to error handling. What's your optinion on that one?
The text was updated successfully, but these errors were encountered:
I think it could be a nice feature to allow defining output result from
IValitRules<T>
like follows:Things are little bit more complicated in
IValitator<T>
because here we would have to add generic interface likeIValitator<TModel,TResult>
and create abstract class which would take in the ctorFunc<ValitResult, TResult>
. But overall I think this would be very cool because folks can add Valit to their projects without changing the existing infrastructure related to error handling. What's your optinion on that one?The text was updated successfully, but these errors were encountered: