这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@danielgtaylor
Copy link
Owner

Adds optional automatic PATCH operation generation when a GET and a PUT are available for a resource. Supports conditional requests and both JSON Merge Patch & JSON Patch standards out of the box.

Underneath the hood it literally just calls the GET, applies the patch to the returned data, and then submits the PUT with that updated data. There are no optimizations made, but this makes it easy for clients to make small updates to large resources in a standardized way.

@danielgtaylor danielgtaylor added the enhancement New feature or request label Sep 10, 2022
@danielgtaylor danielgtaylor merged commit ceef130 into main Sep 12, 2022
@danielgtaylor danielgtaylor deleted the auto-patch branch September 12, 2022 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants