aws-sdk-js-codemod icon indicating copy to clipboard operation
aws-sdk-js-codemod copied to clipboard

[Feature]: Support named import of DocumentClient from deep path

Open trivikr opened this issue 2 years ago • 0 comments

Self-service

  • [ ] I'd be willing to implement this feature

Problem

Transformation of named import of DocumentClient from deep path is not supported

import { DocumentClient } from "aws-sdk/clients/dynamodb";
const documentClient = new DocumentClient({ region: "us-west-2" });

Solution

Support transformation of named import of DocumentClient from deep path

Alternatives

N/A

Additional context

Production uses: https://github.com/search?q=repo%3Awebiny%2Fwebiny-js%20%22aws-sdk%2Fclients%2Fdynamodb%22&type=code

trivikr avatar Nov 06 '23 05:11 trivikr