odata.net
odata.net copied to clipboard
Enable OData Client to make V4.01 requests
OData Client seems to make V4 requests only. It would be great to allow it to make V4.01 requests, unless this will break existing logic.
A few specific areas in the code where V4 is hardcoded: https://github.com/OData/odata.net/blob/82eb2b27219103ac22bdde9eb634eebf0ce99f52/src/Microsoft.OData.Client/DataServiceContext.cs#L3598 https://github.com/OData/odata.net/blob/82eb2b27219103ac22bdde9eb634eebf0ce99f52/src/Microsoft.OData.Client/ALinq/ResourceBinder.cs#L1715 https://github.com/OData/odata.net/blob/82eb2b27219103ac22bdde9eb634eebf0ce99f52/src/Microsoft.OData.Client/DataServiceRequest.cs#L198
Assemblies affected
ODataClient 7.x
Reproduce steps
The simplest set of steps to reproduce the issue. If possible, reference a commit that demonstrates the issue.
Expected result
What would happen if there wasn't a bug.
Actual result
What is actually happening.
Additional detail
Optional, details of the root cause if known. Delete this section if you have no additional details to add.
odata.bind changed between 4.0 and 4.0.1