Releases: fabiosenracorrea/dynamodb-provider
Releases · fabiosenracorrea/dynamodb-provider
v1.1.2
v1.1.1
Fix: Type for ExtendableSingleTableEntity
adjusted based on new conditional parser
property
v1.1.0
-
Fix
: DynamoDBv3
tests breaking due tocommands
property missing -
Feature
: Entity can now receive anextend
function upon creation:type tUser = { id: string; name: string; dob: string; // ... more props } const User = table.schema.createEntity<User>().withParams({ // ...other props extend: ({ dob }) => ({ age: calculateAge(dob) }) })
The example above represent a property addition, the user calculated
age
. It will be present automatically after every retrieval call fromfromEntity
. Its also applied to thefromCollection
result.
v1.0.6
Fix
entity index param generation prevented from passing an object with{ undefined: undefined }
down
v1.0.5
ejectTransactParams
method added to theSingleTable
instance. Useful if you need to merge actions from other tables and want the proper param conversions done with the table config
v1.0.4
- Type Enhance:
createSet
now properly infers DynamoDB version and arguments to give its result value - FIX:
createSet
was referencing itself on an infinite loop
v1.0.3
v1.0.2
v1.0.1
Stable Release
Dynamodb Provider is ready to be used with this first major release.