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

Preview 4: Copy instead of reusing the same reference in AnnotatableBase.AddAnnotations #24781

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

ajcvickers
Copy link
Contributor

@ajcvickers ajcvickers commented Apr 27, 2021

Cherry-picking the commit into preview 4.

Fixes #24658

Description

An exception is thrown when generating migration SQL when a property is modified which has both a comment and a default value.

Customer Impact

The EF Core Power Tools are broken for reverse engineering/scaffolding.

How found

Reported by @ErikEJ, author of the Power Tools, while testing.

Test coverage

The fix was already in preview 5 with test coverage; this PR brings the fix and tests to preview 4.

Regression?

Yes, from preview 2.

Risk

Low. This is a feature bug fix that we are bringing forward.

@ajcvickers ajcvickers requested a review from AndriySvyryd April 27, 2021 16:01
@ajcvickers ajcvickers added this to the 6.0.0-preview4 milestone Apr 27, 2021
@ajcvickers ajcvickers merged commit 5cb55a8 into release/6.0-preview4 Apr 27, 2021
@ajcvickers ajcvickers deleted the PowerFail0427 branch April 27, 2021 17:39
@ajcvickers ajcvickers removed this from the 6.0.0-preview4 milestone May 6, 2021
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.

3 participants