Skip to content

Get items from condition check failures

Compare
Choose a tag to compare
@guregu guregu released this 26 Aug 18:15
· 2 commits to master since this release
f0ac63c

This release adds CurrentValue to Put/Delete/Update that returns the current value if a condition fails (or the value you gave it if it succeeds). Alternatively, you can use IncludeItemInCondCheckFail and UnmarshalItemFromCondCheckFailed to grab the item from an error manually. There are also similar methods for transactions. See: #245, #246.

What's Changed

Full Changelog: v2.1.1...v2.2.0