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 to #16231 - Query: Include on client projection gets ignored #16269

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

maumar
Copy link
Contributor

@maumar maumar commented Jun 26, 2019

Problem was that when we search and apply include on the final projection we short circuit when we encounter member access. However, we should only do that if the member access is on top of navigation binding - in other cases, like client-side functions, we should peek inside and potentially apply includes on entities that are defined there.

@maumar maumar requested a review from smitpatel June 26, 2019 02:49
Copy link
Member

@smitpatel smitpatel left a comment

Choose a reason for hiding this comment

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

What happens for not mapped properties?

@maumar
Copy link
Contributor Author

maumar commented Jun 28, 2019

new version up

Problem was that when we search and apply include on the final projection we short circuit when we encounter member access. However, we should only do that if the member access is on top of navigation binding - in other cases, like client-side functions, we should peek inside and potentially apply includes on entities that are defined there.
@smitpatel smitpatel merged commit ba4fbca into master Jun 28, 2019
@smitpatel smitpatel deleted the fix16231 branch June 28, 2019 20:23
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 participants