Closed tonynuke closed 4 years ago
Please send us a sample we can just build and run. Your sample includes npm.
Also include an example of the endpoint which works without the the extensions.
Here is extracted code sample: https://github.com/tonynuke/OdataAutomapper
You're correct. We'll leave this open until there's a fix. PRs are welcome.
This should be working in 2.0.1-preview.0. Test cases are here.
Hi! I use odata filter in expand section https://localhost:44333/odata/employees?$expand=Contacts($filter=Value eq 'value'). Expected I expect that filtration will be executed in odata request and response data will be filtered. Actual Filtration in expand section does not work. Response data is unfiltered. Without mapping extensions response data is filtered.
Details AutoMapper.AspNetCore.OData.EFCore 2.0.0 Microsoft.AspNetCore.OData 7.4.1 AutoMapper 10.0.0 .NET Core 3.1 Microsoft.EntityFrameworkCore 3.1.6
Code More code details in repository https://github.com/tonynuke/ContactsWebApp