-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use deployment rolling restart API with CRUD mockwebserver #2516
Comments
Hi @coopstah13 I'm not sure how soon we'll be able to tackle this. Maybe you could provide a PR if you have time ;) |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
CRUD mockwebserver attempts to perform a JSON Patch (
application/json-patch+json
) against the request, but the request is usingapplication/strategic-merge-patch+json
which has different semantics for the patching.To reproduce:
Results in this error in the server:
Not sure what the exact algorithm would be to do this strategic merge, but seems like you would traverse all the nodes in the patch data and apply their key/value pairs to the same traversed node in the source.
The text was updated successfully, but these errors were encountered: