Skip to content

Respect ProblemDetailsService in default model validation filter #61219

Open
@captainsafia

Description

@captainsafia

Gathered from #46349 (comment) and #46349 (comment).

We need to figure out a way to get the ValidationEndpointFilterFactory implementation to plug-in to the ProblemDetailsService so that it can respect global ProblemDetails-related configuration provided by the user.

This is usually supported via TypedResults but since there are circular dependencies issues we might just need to interact with the ProblemDetails service directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-validationIssues related to model validation in minimal and controller-based APIs

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions