You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Today it is not easy to statically disable validation explicitly on a particular property of a particular type. It also isn't as easy as it could be to disable validation on a type (it is possible to do today, but perhaps not as easy as it could be).
See related: #5633 (Model binding, BindNeverAttribute and BindAttribute ignored ?)
It is also not easy to decide whether to disable validation of a property at runtime.
See related: #4143 (Ignore validation of model property)
We should come up with a simple solution for the first problem, e.g. a new [ValidateNever] attribute (attribute applies to property + type), and perhaps take a look at how to disable validation dynamically a possibility.