Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix MinimalApiEf scaffolder generates wrong route parameter when primary key is not named "Id" #3125

Conversation

MadLongTom
Copy link
Contributor

Summary of the changes

  • fix MinimalApiEf scaffolder template generates wrong route parameter when primary key is not named "Id"

Fixes #2576

Copy link
Member

@deepchoudhery deepchoudhery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ty for your PR

@deepchoudhery deepchoudhery merged commit 05aef4b into dotnet:main Dec 18, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scaffolding API endpoints with primary key named {class}Id creates incorrect code
2 participants