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

Improve exception message for a shadow skip navigation #26128

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

AndriySvyryd
Copy link
Member

Fixes #23362

Description

Shadow skip navigations are not supported, but currently we don't explicitly validate this.

Customer impact

Without this an obscure ArgumentException is thrown when the navigation is used in a query.

How found

Customer

Regression

No.

Testing

Test for this scenario added in the PR.

Risk

Low, just a better exception message.

@AndriySvyryd AndriySvyryd requested a review from a team September 21, 2021 21:26
@AndriySvyryd
Copy link
Member Author

@Pilchie For approval

@Pilchie
Copy link
Member

Pilchie commented Sep 22, 2021

Approved for EFCore 6.0

@AndriySvyryd AndriySvyryd changed the title [6.0] Improve exception message for a shadow skip navigation Improve exception message for a shadow skip navigation Sep 22, 2021
@AndriySvyryd AndriySvyryd merged commit 43f379f into release/6.0 Sep 22, 2021
@AndriySvyryd AndriySvyryd deleted the Issue23362 branch September 22, 2021 18:29
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.

Throw for a shadow Many-To-Many navigation
3 participants