Skip to content

Revert setting endpoint name automatically #36518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2021

Conversation

captainsafia
Copy link
Member

@captainsafia captainsafia commented Sep 14, 2021

Partial revert of #35439.

I undid the change that sets the endpoint name metadata from the method name. I kept the code that sets the method name in the display name for the route since I think that is still helpful.

Closes #36487

@ghost ghost added the area-runtime label Sep 14, 2021
@captainsafia captainsafia added old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels and removed area-runtime labels Sep 14, 2021
@captainsafia captainsafia force-pushed the safia/revert-auto-endpoint-name branch from 8753842 to b182f1c Compare September 14, 2021 23:28
@davidfowl
Copy link
Member

Do we assert that name is not set anywhere when using a method group?

@captainsafia captainsafia force-pushed the safia/revert-auto-endpoint-name branch from b182f1c to 0301159 Compare September 15, 2021 00:19
@captainsafia
Copy link
Member Author

Do we assert that name is not set anywhere when using a method group?

I added one. This is the only place we set the endpoint name by default within the framework but doesn't hurt to add a check for it I guess. 🤷🏽‍♀️

@captainsafia captainsafia marked this pull request as ready for review September 15, 2021 00:19
@captainsafia
Copy link
Member Author

@dotnet/aspnet-build Can I get help merging this?

@dougbu dougbu merged commit 3e9ffac into release/6.0 Sep 15, 2021
@dougbu dougbu deleted the safia/revert-auto-endpoint-name branch September 15, 2021 02:02
@ghost ghost added this to the 6.0-rc2 milestone Sep 15, 2021
halter73 added a commit to dotnet/AspNetCore.Docs that referenced this pull request Oct 28, 2022
halter73 added a commit to dotnet/AspNetCore.Docs that referenced this pull request Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants