shiftcode / dynamo-easy

DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
https://shiftcode.github.io/dynamo-easy/
MIT License
204 stars 27 forks source link

Support NULL in mapper #361

Open dhmw opened 2 years ago

dhmw commented 2 years ago

Ref: shiftcode#285

I noticed that there are types and mappers present in the code base, but the mapper for NULL wasn't being called.

Looking at the mapper code, I see that null/NULL is explicitly caught and bypasses the mapper functions. I believe this is probably an oversight, so I removed it and now I can store and fetch null values.

myfreax commented 1 year ago

request merge. I need it also

TanjaBayer commented 1 year ago

Is there a reason for not merging this? Seems to make sense