-
Notifications
You must be signed in to change notification settings - Fork 169
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 revision to kv operations #1182
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Some comments added.
ec08134
to
fb6d9e2
Compare
fb6d9e2
to
e5d2a86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in doc :)
Other than that - looks good.
Co-authored-by: Tomasz Pietrek <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thank you for your contribution!
Similar to the nats.net.v2 client, an option to add the expected revision was added. A delete or purge will be rejected similar to the update function.
This is needed to make better use of the immediately consistent properties of the kv store.
This is a breaking change, as all references to current deletes or purges will have to be updated to include a None.