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

[5.0] Add validation for seed data with skip navigations #22908

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

AndriySvyryd
Copy link
Member

Part of #22883

Description

Skip navigations (i.e. many-to-many navigations; new for 5.0) could contain entities when used in seed data. However they will be ignored.

Customer Impact

With this change EF will throw an exception explaining the supported way to add seed data. Making this change after 5.0 would be a bigger breaking change as more users could be affected.

How found

Code examination.

Test coverage

This PR adds tests for the affected case.

Regression?

No.

Risk

Low. The change only affects skip navigations, which are new in 5.0.

@AndriySvyryd
Copy link
Member Author

@ajcvickers Ok to push with errors due to infrastructure?

@ajcvickers
Copy link
Member

@AndriySvyryd What are the infrastructure issues? Do we know if they are being worked on?

/cc @dotnet/aspnet-build

@AndriySvyryd
Copy link
Member Author

@AndriySvyryd
Copy link
Member Author

@ajcvickers
Copy link
Member

@AndriySvyryd Those links indicate that the issue has been fully mitigated. Maybe we can re-try one more time?

@AndriySvyryd AndriySvyryd merged commit d3b2ff9 into release/5.0 Oct 7, 2020
@AndriySvyryd AndriySvyryd deleted the Issue22884 branch October 7, 2020 00:03
@ajcvickers ajcvickers removed this from the 5.0.0 milestone Oct 7, 2020
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.

2 participants