Skip to content
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

PutItem with ReturnValues set as 'ALL_OLD' doesn't work correctly #128

Open
jeremydaly opened this issue Apr 6, 2020 · 2 comments
Open

Comments

@jeremydaly
Copy link

A PutItem call with 'ALL_OLD' specified as the ReturnValues should return a copy of the overwritten item.

@mhart
Copy link
Collaborator

mhart commented Apr 6, 2020

Hmmm, it certainly tries to do that: https://github.com/mhart/dynalite/blob/0641c3bf29b1171a67f49d58ca47ad676e145884/actions/putItem.js#L22-L23

What is it returning?

@jeremydaly
Copy link
Author

I'm just getting an empty object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants