Closed psFried closed 5 years ago
@oscerd Do you have an ETA when you'll be releasing a new build of mockwebserver with this functionality? Spent a while chasing my tail today expecting patch to work and it would be great to count on going forward. Thank you!
The CrudDispatcher does not currently update its stored resource when handling a patch request. I'm currently subclassing
KubernetesCrudDispatcher
to handle PATCH requests as expected, but it seemed like that addition would be generally useful. This PR adds that behavior, so that you can execute a PATCH and then a subsequent GET will return the modified resource. Please let me know if there's any issues with this.