Getting error while update on object that contains undefined attribute value in it. Eventhough we passs this oprion in dynamodb client Marshall options still its giving the error
Error: Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.
at convertToAttr (/Users/h81761/Documents/workspace/poc/ts-lambda/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:99:11)
at /Users/h81761/Documents/workspace/poc/ts-lambda/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:194:20
at convertToMapAttrFromEnumerableProps (/Users/h81761/Documents/workspace/poc/ts-lambda/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:198:5)
Environment (please complete the following information):
Node Version: 20.x
OneTable Version: 2.7.1
TypeScript Version: 5.1.x
Additional context
Add any other context about the problem here.
Describe the bug
Getting error while update on object that contains undefined attribute value in it. Eventhough we passs this oprion in dynamodb client Marshall options still its giving the error
Error: Pass options.removeUndefinedValues=true to remove undefined values from map/array/set. at convertToAttr (/Users/h81761/Documents/workspace/poc/ts-lambda/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:99:11) at /Users/h81761/Documents/workspace/poc/ts-lambda/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:194:20 at convertToMapAttrFromEnumerableProps (/Users/h81761/Documents/workspace/poc/ts-lambda/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:198:5)
Environment (please complete the following information):
Additional context Add any other context about the problem here.