Skip to content
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

Add Support for Mongo Update Operators as Patch #332

Open
satabin opened this issue Mar 3, 2023 · 0 comments · May be fixed by #336
Open

Add Support for Mongo Update Operators as Patch #332

satabin opened this issue Mar 3, 2023 · 0 comments · May be fixed by #336
Assignees

Comments

@satabin
Copy link
Member

satabin commented Mar 3, 2023

See: https://www.mongodb.com/docs/manual/reference/operator/update/#std-label-update-operators

Another patch format would be interesting to generate diffs that are compatible with mongo update operators. Patches have some limitations here, as several operations on the same array are not supported in all cases. The algorithm for this would be somewhere in-between LCS based and simple diffs as implemented for JsonPatch

@satabin satabin self-assigned this Mar 3, 2023
@satabin satabin linked a pull request Mar 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant