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

Fix nested owned types in 2.x snapshots. #18549

Merged
merged 1 commit into from
Oct 23, 2019
Merged

Conversation

AndriySvyryd
Copy link
Member

Fixes #18183

}

if (relatedEntityType == null
&& model.GetProductVersion().StartsWith("2.", StringComparison.Ordinal))
Copy link
Contributor

Choose a reason for hiding this comment

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

Would this be better handled inside SnapshotModelProcessor?

Copy link
Member Author

@AndriySvyryd AndriySvyryd Oct 23, 2019

Choose a reason for hiding this comment

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

The exception is thrown before SnapshotModelProcessor starts processing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ouch. That reminds me... (filed #18557)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.2.6 migrations fail after upgrade to 3.0.0 if model has nested owned types
2 participants