WebApi icon indicating copy to clipboard operation
WebApi copied to clipboard

Support for JSON PATCH

Open Gebov opened this issue 10 years ago • 5 comments

In addition to the $ref endpoints for managing relations to entities, it would be more convenient to support the JSON patch format described here

Gebov avatar May 12 '16 13:05 Gebov

@Gebov Thanks your input and the JSON patch format looks interesting. However, most of the operational can be finished with the OData CRUD request. Would you please let us know your scenarios with the JSON patch format in Web API OData? And, Welcome your contribution by sending us an implementation through pull request. Thanks.

xuzhg avatar May 13 '16 01:05 xuzhg

Close it. Please reopen it if you have further concern.

xuzhg avatar May 25 '16 06:05 xuzhg

I am in the process of learning OData to create a Web API for miscellaneous partial updates of a large object graph. I came across this issue and read the RFC. It describes with succinct clarity how to fulfill my exact requirement. I'm just getting started with OData, but so far it seems unnecessarily complex in comparison.

HappyNomad avatar May 26 '16 20:05 HappyNomad

I came across this post saying that ASP.NET Core will support Json Patch. And a Google search reveals a lot of activity around this.

HappyNomad avatar May 26 '16 22:05 HappyNomad

@HappyNomad Thanks your information. We hope Web API OData vNext can involve to Asp.NET Core. At that time, maybe we can consider to add the Json patch support and welcome your contribution. Thanks.

xuzhg avatar Jun 02 '16 01:06 xuzhg