File tree Expand file tree Collapse file tree 4 files changed +30
-154
lines changed
Expand file tree Collapse file tree 4 files changed +30
-154
lines changed Original file line number Diff line number Diff line change 1818 description : |
1919 A clear and concise description of what the bug is. A bug is **unintended**. A feature not being implemented is **not a bug**.
2020 placeholder : |
21- eg: aws-sdk-js-codemod crashes with a specific error .
21+ eg: Running transform "transformName" on the provided input causes it to crash .
2222 validations :
2323 required : true
2424
2828 description : The _minimal_ steps to reproduce your issue.
2929 placeholder : |
3030 Please share code or minimal repo, and steps to reproduce the behavior.
31+ Like an example input file, and the command you ran.
32+
33+ ```ts
34+ import AWS from "aws-sdk";
35+
36+ const region = "us-west-2";
37+ const client = new AWS.DynamoDB({ region });
38+ const response = await client.listTables({}).promise();
39+ ```
3140 validations :
3241 required : true
3342
4554 label : Expected behavior
4655 description : A clear and concise description of what you were expecting to happen.
4756 placeholder : |
48- eg: The aws-sdk-js-codemod script should have run successfully.
57+ eg: The aws-sdk-js-codemod script should have run successfully, and/or return specific output .
4958 validations :
5059 required : true
5160
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1818 description : |
1919 Is your feature request related to a problem? Please describe.
2020 placeholder : |
21- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
21+ A clear and concise description of what the problem is.
22+
23+ For example, I need transformation for the following code:
24+ ```ts
25+ import AWS from "aws-sdk";
26+
27+ const region = "us-west-2";
28+ const client = new AWS.DynamoDB({ region });
29+ const response = await client.listTables({}).promise();
30+ ```
2231 validations :
2332 required : true
2433
2837 description : Describe the solution you'd like.
2938 placeholder : |
3039 A clear and concise description of what you want to happen.
40+
41+ For example, I'd like the above code to be transformed to:
42+ ```ts
43+ import { DynamoDB } from "@aws-sdk/client-dynamodb";
44+
45+ const region = "us-west-2";
46+ const client = new DynamoDB({ region });
47+ const response = await client.listTables({});
48+ ```
3149 validations :
3250 required : true
3351
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments