You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DB Scaffold Misnamed Navigation Properties ending in "Uuid" #38767
dotnet 7 & 8 (AFAIK)
The Entity Framework Core database scaffold has incorrectly named the navigation properties in the Choice entity.
The properties FileUu and QuestionUu do not align with their respective foreign keys, FileUuid and QuestionUuid.
Activity
[-]DB Scaffold Misnamed Navigation Properties[/-][+]DB Scaffold Misnamed Navigation Properties ending in "Uuid"[/+]z0rimo commentedon Sep 5, 2026
Hi, I'd like to work on this issue.
I reproduced the behavior on the current
mainbranch:FileUuidis scaffolded asFileUu, andQuestionUuidasQuestionUu.The issue appears to be in
CandidateNamingService.StripId(), which handles theGuidsuffix specially but notUuid.I have a minimal fix locally with regression coverage in
CandidateNamingServiceTest.Fix UUID suffix handling in scaffolded navigation names
Fix UUID suffix handling in scaffolded navigation names
Fix UUID suffix handling in scaffolded navigation names (dotnet#38929)
Fix UUID suffix handling in scaffolded navigation names (#38929)