-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-minimal-actionsController-like actions for endpoint routingController-like actions for endpoint routingold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Description
This is issue is to track ideas for analyzers for Minimal API scenarios:
Errors:
- Detecting when types that implement
IActionResultare returned from route handlers. This will result in serializing the result as JSON which is unintended.app.Map("/", () => new JsonResult(new { Hello = "World" }));
- Make StartupAnalysisBuilder-based analyzers work with WebApplicationBuilder #34404
- Detecting when attributes are put on a method called by a lambda instead of the lambda itself #35638
app.Map("/", () => Hello()); [Authorize] void Hello() { }
- Create an analyzer to detect mismatched parameter optionality #34553
Metadata
Metadata
Assignees
Labels
area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-minimal-actionsController-like actions for endpoint routingController-like actions for endpoint routingold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels