Right now, the filter scans all of the parameters to determine if the parameter type is validatable
|
private static bool IsValidatable(MethodInfo methodInfo, IServiceProviderIsService? isService) => |
. I'd like to optionally short circuit this logic by specifying which types should be validated as an overload to
WithParameterValidation.
Right now, the filter scans all of the parameters to determine if the parameter type is validatable
MinimalApis.Extensions/src/MinimalApis.Extensions/Filters/ValidationFilterRouteHandlerBuilderExtensions.cs
Line 187 in 115062c
WithParameterValidation.