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

feature: Add a replace parameter for single node additions #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kezz
Copy link
Contributor

@kezz kezz commented Nov 8, 2023

This provides an "atomic" way of performing a replacement on a node without having to make two separate rest calls.

Unsure if there is potentially a better solution, or more value in having a /replace endpoint with a parameter to pick the equality predicate. However, I think this is good as a nice addition for atomic remove/add for most use cases now.

This provides an "atomic" way of performing a replacement on a node without having to make two separate rest calls.
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

Successfully merging this pull request may close these issues.

1 participant