-
Notifications
You must be signed in to change notification settings - Fork 159
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
#1023 - Fix all structural properties ignored when using $expand
without $select
and camel cased property names
#1024
Conversation
… without $select
$expand
without $select
$expand
without $select
and camel cased property names
@orty Thanks for the contribution. Please add some tests. |
@@ -13961,7 +13961,6 @@ | |||
<member name="P:Microsoft.AspNetCore.OData.Routing.ODataRouteOptions.Order"> | |||
<summary> | |||
Gets or sets the route order in conventional routing. | |||
By default, move the conventional routing later as much as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just rebuilt the solution to validate my fix, and the comment must have been removed in a previous commit without committing the regeneration of the documentation XML. I can revert it if, but it might come back the next time someone rebuilds the solution.
@ElizabethOkerio done, I added a new lower cased model and all its context, plus a copy of your previous test method in this context, checking in both scenario that the top-level properties are not |
The build is not running. Let me see whether I can run it manually |
This fixes the issue #1023 where all structural properties are removed from the generated SQL query when using
$expand
without$select
in abuilder.EnableLowerCamelCase()
scenario.Probably fixes the same issue when using aliases in an EdmModel with the
[DataMember(Name=...)]
attribute.