Skip to content

Investigate the use of discriminated union in lieu of ActionResult<T> #27890

Closed
@pranavkm

Description

@pranavkm

The feature is still in proposal but if it lands, we should investigate replacing ActionResult<T> with a compiler feature.

Current spec: https://github.com/dotnet/csharplang/blob/master/proposals/discriminated-unions.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesblockedThe work on this issue is blocked due to some dependencyfeature-mvc-execution-pipelineFeatures related to how MVC executes a controller or razor page

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions