dynamodb-toolbox icon indicating copy to clipboard operation
dynamodb-toolbox copied to clipboard

A simple set of tools for working with Amazon DynamoDB and the DocumentClient

Results 130 dynamodb-toolbox issues
Sort by recently updated
recently updated
newest added

This is a proposal for a new way to define Entity attributes. Answers partially https://github.com/jeremydaly/dynamodb-toolbox/issues/303 I put the code in `src/v2`. This PR is not meant to be merged in...

## version [0.3.5](https://www.npmjs.com/package/dynamodb-toolbox/v/0.3.5) - in the previous version, this worked fine: ```js await UserEntity.update({ id: user.id, postIds: updatedPostIds, }); ``` ## version [0.4.3](https://www.npmjs.com/package/dynamodb-toolbox/v/0.4.3) - typescript complains about the above operation...

- allow to filter unmapped fields without throwing an error in put/update operations (including transactions) closes #230

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.

We have noticed that while using the functions `scan` and `query` any `set` attributes do not seem to be parsed correctly. They come back as a `DynamoDBSet` and not as...

bug

To implement type inference in v0.4, I used the `as const` statement mainly to prevent breaking changes, but it makes the parsing of attributes quite complex and resource intensive. It's...

enhancement

- Typescript: 4.7.4 - DynamoDB Toolbox: 0.4.2 ``` node_modules/dynamodb-toolbox/dist/lib/parseEntity.d.ts:24:21 - error TS2456: Type alias 'ParsedEntity' circularly references itself. 24 export declare type ParsedEntity = ReturnType; ~~~~~~~~~~~~ Found 1 error in...

Is this still a thing with the latest version, i.e. by default you get generated `UpdateExpression` like this: ``` SET #gsi1pk = if_not_exists(#gsi1pk,:gsi1pk), #gsi1sk = if_not_exists(#gsi1sk,:gsi1sk) ``` I am having...

bug