Skip to content

Allow callers to specify which types should be validated for the validation filter #39

@davidfowl

Description

@davidfowl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions