Skip to content
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

[release/6.0] RevEng: Don't use nameof syntax (#26622) #27231

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

smitpatel
Copy link
Member

Scoping causes clash in names.

Resolves #26588

Description
Don't generate nameof syntax when generating attributes during scaffolding a database as it can cause clash with types/members.

Customer impact
Customers scaffolding database where this can cause issue will run into code with compilation failure or invalid model created.

How found
Customers reported 6.0.

Regression
Yes. Use of nameof sytanx was new feature in 6.0.

Testing
There is existing testing for scenario. Fix here is reverting the feature added in 6.0

Risk
Low risk. The fix has been merged to main and this is cherry-pick of it. The generated code is same as what was in 5.0.

Scoping causes clash in names.

Resolves #26588
@ajcvickers ajcvickers added this to the 6.0.x milestone Jan 24, 2022
@leecow leecow modified the milestones: 6.0.x, 6.0.3 Jan 25, 2022
@wtgodbe wtgodbe merged commit 06e2f6e into release/6.0 Feb 2, 2022
@wtgodbe wtgodbe deleted the smit/nameof branch February 2, 2022 17:37
@ajcvickers ajcvickers removed this from the 6.0.3 milestone Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants