We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04104d commit 19bedffCopy full SHA for 19bedff
src/mapper/mapper.spec.ts
@@ -680,8 +680,8 @@ describe('Mapper', () => {
680
})
681
682
describe('model with combined decorators', () => {
683
- const toDbValue: ModelWithCombinedDecoratorsModel = { id: 'idValue' }
684
- const mapped = toDb(toDbValue, ModelWithCombinedDecoratorsModel)
+ const toDbValue: SimpleWithRenamedPartitionKeyModel = { id: 'idValue', age: 30 }
+ const mapped = toDb(toDbValue, SimpleWithRenamedPartitionKeyModel)
685
expect(mapped).toEqual({ custom_id: { S: 'idValue' } })
686
687
0 commit comments