Open clemvnt opened 8 months ago
I tried to look to support this case.
I succeeded by making the following changes: clemvnt/odata.net@674ed16 clemvnt/AspNetCoreOData@45b7a57
Let me know if it sounds good. If so, I'll look into adding the tests.
I tried to look to support this case.
I succeeded by making the following changes: clemvnt/odata.net@674ed16 clemvnt/AspNetCoreOData@45b7a57
Let me know if it sounds good. If so, I'll look into adding the tests.
Thanks for your inputs. Both changes look good to me. Looking forward to your contribution by sharing us the complete Pull Request. Thanks
I have created both PRs : https://github.com/OData/odata.net/pull/2879 https://github.com/OData/AspNetCoreOData/pull/1182
The second one is in draft because it depends on the first.
I will take the review of the ODL change, @xuzhg to work through the PR in this repo.
Hello,
I have a case where I want to group by a property of a derived type :
An error indicating that this is not supported is thrown.
I would have expected it to be possible. Is it a lack or are there reasons why it's not possible?
Knowing that using a derived type in a filter clause works :
Assemblies affected
Microsoft.AspNetCore.OData 8.2.4
Reproduce steps
It should open the
/products?apply=groupby((category/ODataGroupByDerivedTypeIssue.Models.Category/categoryName))
URL.Expected result
Actual result
The following error :
Stack trace :