api-platform / api-platform/core

JSON PATCH support

未关闭
#759 22 条评论 14 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
2.6k
派生
980
平均合并
2 天 5 小时
30 天内合并 PR
48

描述

api-platform/api-platform#147 suggested adding a PATCH support for partials updates, it was closed as PUT already does that.

How about adding a [JSON PATCH](http://jsonpatch.com/) support? Difference here is you're able to do operations WITH entities, not only ON entites, quoted from [Why PATCH is Good for Your HTTP API](https://www.mnot.net/blog/2012/09/05/patch)

> PATCH is atomic, which means that if you need to do some complex changes to the state of a resource, you can do it with confidence. It also means that you can create synthetic resources and PATCH them if you need to orchestrate changes to the state of several resources.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。