laminas-api-tools / api-tools-rest

Laminas Module providing structure for RESTful resources
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
7 stars 16 forks source link

JSON patch according to RFC6902 #6

Open weierophinney opened 4 years ago

weierophinney commented 4 years ago

Enhancement? I recently ran into this blog post referring to the RFC6902 standard for JSON patch. It seems this patching standard allows some additional flexibility regarding patch operations.

As an example; with this method of patching resources you can simply remove or add a member to a collection without sending the whole collection. Simply sending the new member or the member to remove is enough.

Are there any ideas of implementing patch RFC6902 style in the future?


Originally posted by @Wilt at https://github.com/zfcampus/zf-rest/issues/76

weierophinney commented 4 years ago

Not currently, but if somebody wants to work on support for it, I'd welcome it. :)


Originally posted by @weierophinney at https://github.com/zfcampus/zf-rest/issues/76#issuecomment-119580994