dotnet / dotnet/aspnetcore

ValidateNever applied to action parameters is not honored

Open
#24,241 11 comments 7 reactions 0 assignees View on GitHub
affected-few area-mvc bug feature-model-binding severity-minor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

As part of MVC's support for record types, `ValidateNeverAttribute` is now allowed to be applied to parameters. However, when applied to action parameters, the attribute has no effect and the parameter will continue to be validated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.