Closed jkav77 closed 7 years ago
I believe this change will affect code that relies on existing behaviour and departs from the documented functionality of underlying DeleteItem DynamoDb call.
As written in this pull request, there is a new conditional check that the item exists which cannot be adjusted using passed parameters.
If a change is to be made then I believe it should be an optional parameter that indicates that the item should exist. Default behaviour would be as existing code.
I agree this breaks existing behavior and the current behavior is consistent with Dynamo DB. Checking for the existence of the item with a conditional check is easily achieved with undocumented behavior, which is why I submitted #53.
fixes #44