You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a case where an item appearing after save operation is needed. In other words, a result of updateItem request setting ReturnValue.ALL_NEW is required in some context.
Since DynamoDBMapper does not support the above, we should load an item again for further save operations (please correct me if I am wrong here). A low-level client would be preferred unless the additional load operation is negligible.
Thus, I am wondering if DynamoDBMapper supports the following:
public <T> T save(T object);
I tried to search the same request or similar ones in Refactor: Dynamo DB Mapper, but I could not find any.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
The SDK team has reviewed the feature request list for V1 and decided not to implement this one, as they're concentrating efforts on V2 new features. It's still being considered for the DynamoDB Mapper refactor in V2, I added it to the refactor tracking issue. I'll go ahead and close this.
Please feel free to comment on the V2 issue with your use case, and reach out if you have further questions.
There is a case where an item appearing after save operation is needed. In other words, a result of
updateItem
request settingReturnValue.ALL_NEW
is required in some context.Since DynamoDBMapper does not support the above, we should load an item again for further save operations (please correct me if I am wrong here). A low-level client would be preferred unless the additional load operation is negligible.
Thus, I am wondering if DynamoDBMapper supports the following:
I tried to search the same request or similar ones in Refactor: Dynamo DB Mapper, but I could not find any.
Thanks in advance!
The text was updated successfully, but these errors were encountered: