FluentValidation.AutoValidation icon indicating copy to clipboard operation
FluentValidation.AutoValidation copied to clipboard

SharpGrip FluentValidation AutoValidation is an extension of the FluentValidation library enabling automatic asynchronous validation in MVC controllers and minimal APIs (endpoints).

Results 25 FluentValidation.AutoValidation issues
Sort by recently updated
recently updated
newest added

Hi! Currently we are limited to run rule sets during autovalidation. I believe we can add specific attribute for such purposes. I came up with, following naming pattern, next attribute...

enhancement

I'd like to request support for targeting `netstandard2.0` in the `FluentValidation.AutoValidation.Mvc` project so that it can work seamlessly in projects currently relying on AspNetCore libraries targeting older versions of the...

Sample PR with modifications needed to make `FluentValidation.AutoValidation.Mvc` work while targeting `netstandard2.0`.

Previously we were using FluentValidation.AspNetCore to automatically validate parameter for controller actions. We then had an IAsyncActionFilter that was registered to detect if there are ModelState errors, and convert them...

enhancement

Hi. When integrating with ASP.NET Core MVC, a call to `TryValidateModel` does not work as expected. ``` public class Test1Controller : Controller { public ActionResult Action1(Action1ViewModel viewModel) { // re-validate...

The current implementation of the ``IFluentValidationAutoValidationResultFactory`` relies on returning a ``IResult`` object directly. However, this approach is limiting and won't allow us to use built-in ``IProblemDetailsService``. As an example, I...

enhancement

Good day! Autovalidation does not work when I try use it with struct DTO in MVC controllers. The reason is here: https://github.com/SharpGrip/FluentValidation.AutoValidation/blob/master/FluentValidation.AutoValidation.Mvc/src/Filters/FluentValidationAutoValidationActionFilter.cs#L64 and here: https://github.com/SharpGrip/FluentValidation.AutoValidation/blob/master/FluentValidation.AutoValidation.Shared/src/Extensions/TypeExtensions.cs#L21 For some reason some types...

enhancement