We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the increment method, if you increment the value below 0, the output is unexpected and subsequent increments fail.
increment
> GitHub.kv.get(kv_key).value! { 0 } nil > GitHub.kv.increment(kv_key) 1 > GitHub.kv.get(kv_key).value! { 0 } "1" > GitHub.kv.increment(kv_key, amount: -2) 18446744073709551615 > GitHub.kv.get(kv_key).value! { 0 } "18446744073709551615" > GitHub.kv.increment(kv_key, amount: 2) eval error: GitHub::KV::InvalidValueError vendor/gems/3.2.2/ruby/3.2.0/gems/github-ds-0.5.2.10.g8cf56ba:in `block in increment'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using the
increment
method, if you increment the value below 0, the output is unexpected and subsequentincrement
s fail.The text was updated successfully, but these errors were encountered: