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

JsonMergePatchDocument - Why "Cannot apply more than once" ? #65

Open
aaronclawrence opened this issue Oct 8, 2024 · 1 comment
Open

Comments

@aaronclawrence
Copy link

I noticed that I can only use ApplyTo once. The second time it throws NotSupportedException("Cannot apply more than once");

I can't see why that restriction is enforced. Who cares if you apply it more than once? It looks like it will work just fine...

@aaronclawrence aaronclawrence changed the title JsonMergePatchDocument - Why "Can only be applied once" ? JsonMergePatchDocument - Why "Cannot apply more than once" ? Oct 8, 2024
@aaronclawrence
Copy link
Author

Hm, I see it removes the "add" operations, not sure why...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant