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
area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-validationIssues related to model validation in minimal and controller-based APIs
ValidationsGenerator today doesn't work with unions. What likely needs to happen is:
Update the source generator so that it recognize union, and generates validatable type info for all the union cases.
The validations generator shouldn't ignore validating the Value property. This property is likely to have IsImplicitlyDeclared = true which the generator skips today.
area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-validationIssues related to model validation in minimal and controller-based APIs
Activity
DeagleGross commentedon Sep 3, 2026
Fixed in #68846; will be included in net11 RC2; closing