dynamodb-toolbox
dynamodb-toolbox copied to clipboard
Suggestion: A function that transforms the output from DDB for an attribute
Similar to the transform function in EntityAttributeConfig, it would be super helpful for transforming data from DDB. Would be super helpful for cases like dates where they are stored as a string/number but you would like the Entity to return it as a Date object.
This PR has been there for ages: https://github.com/jeremydaly/dynamodb-toolbox/pull/90
This PR has been there for ages: https://github.com/jeremydaly/dynamodb-toolbox/pull/90
Haven't they all... 😕
#332 was merged and added the format property to entity schemas and does exactly what you've mentioned above 😎