You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix for this issue is not straightforward, as only the top-level inputs and any types which use AttributeValue should import from DocumentClient, while types should be imported from DynamoDB client.
Marking this as p3, as the issue is only with TypeScript types and can be fixed with by doing manual import.
trivikr
changed the title
[Bug?]: v2-to-v3 codemod imports DynamoDB.DocumentClient non AttributeValue types from lib-dynamodb
[Bug]: v2-to-v3 codemod imports DynamoDB.DocumentClient non AttributeValue types from lib-dynamodb
Aug 4, 2023
Self-service
Describe the bug
The v2-to-v3 codemod imports DynamoDB.DocumentClient non AttributeValue types from lib-dynamodb
Steps to reproduce
Input code:
Observed behavior
Output code:
Expected behavior
Since lib-dynamodb does not re-export types from DynamoDB, the code should import type from DynamoDB instead
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: