Skip to content

Should MapShortCircuit matches for all methods or only GET? #47981

Closed
@Kahbazi

Description

@Kahbazi

I just noticed that MapShortCircuit API doc is different than its behavior. The docs says that it matches the GET request

/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP GET requests

but the implementation matches all the methods

I can't remember which one was the requirement but one of them has to be changed!

@Tratcher

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcneeds-area-labelUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions