OData / odata.net

ODataLib: Open Data Protocol - .NET Libraries and Frameworks
https://docs.microsoft.com/odata
Other
683 stars 349 forks source link

Reading OData Delta feeds with OData Client #787

Open ll-sc opened 7 years ago

ll-sc commented 7 years ago

Is there a way to read OData delta feeds with the OData Client? If not, it would be nice if OData delta feeds could be read with the OData Client.

Assemblies affected

Microsoft.OData.Client 6.15

odero commented 4 years ago

@mikepizzo are there any docs/resources that can be used by someone implementing this?

mikepizzo commented 4 years ago

The JSON delta format is described here: http://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html#_Toc26268537.

Implementing support in ODataClient for added/modified should be pretty straightforward. Supporting deleted entries in a delta payload would require defining a new type of resource to represent the deleted resource.