dynamodb-toolbox
dynamodb-toolbox copied to clipboard
Add inverse transform
We needed a way to be able to transform a value coming from DynamoDB before parsing it. Thats why we added an inverseTransform field option.
Sorry for the delay @GeertWille. I've been working on the TypeScript conversion.
This addition makes sense, but I'm not sure inverseTransform
is the right label. Maybe format
would be better? I'll incorporate this into the v0.3 branch as that will soon be merged to master.
Hi @GeertWille, I just released v0.3, but didn't get a chance to get this in. I'm planning on implementing this soon.
Hey @jeremydaly, No problem. Let me know if I can do anything to help.
Hi @jeremydaly and @GeertWille any news on this one?
It would be helpful for us as well. We need to get date objects back from created/modified etc. With inverseTransform
or format
we can wrap it in a new Date()
function. Thanks!
Just for date manipulations, this feature would be very nice! Is it plan on next release? Thanks for your hard work!
@BabyDino @Wingjam Not sure, didn't hear back from @jeremydaly yet so I'm still using my own fork 😞
@jeremydaly Any updates on this? We'd love to see this feature implemented as it would help us tremendously.
@jeremydaly Any updates on this?
Hey @GeertWille, first of all, thanks for creating this PR, you're awesome 😎
I agree with @jeremydaly about the naming.
Can you rebase the changes to the latest version? also, let's remove the unrelated changes and discuss them separately 🙏
Closing this one in favor of #332