|
1 |
| -# Migrate dynamo-easy to sdk v3 |
| 1 | +# Migrate dynamo-easy to aws-sdk v3 |
2 | 2 |
|
3 |
| -## To complete before releasing |
4 |
| -- [ ] Update demo |
5 |
| -- [ ] Update doc with new snippets |
| 3 | +## 📋 To complete before releasing |
| 4 | +- [x] Make sure the snippets compile |
| 5 | +- [x] Make tests compile and run successfully |
| 6 | +- [ ] Search for `TODO v3:` in the code to see open issues / notes, and create followup issues to decide if we have more to fix prior to a major release or keep it for later follow-up |
| 7 | +- [ ] Check on new attribute type [$UnknownAttribute](./src/mapper/type/attribute.type.ts) and implement tests |
| 8 | +- [ ] Remove [sessionValidityEnsurer](./src/config/dynamo-easy-config.ts) and add demo with using [middleware stack](https://github.com/aws/aws-sdk-js-v3#middleware-stack) |
| 9 | + to implement the same |
| 10 | + - [ ] The old behavior (sessionValidityEnsurer) was executed before every request, with the new implementation we |
| 11 | + only react to failing requests, so we should probably provide a way to automatically retry failed requests after |
| 12 | + successfully refreshing any invalid session. |
| 13 | +- [ ] Switch to new implementation of pagination, see [official doc](https://github.com/aws/aws-sdk-js-v3#paginators). |
| 14 | +- [ ] Use middleware stack to implement verbose logging of request / response data |
| 15 | +- [ ] Update [dynamo-easy-demo](https://github.com/shiftcode/dynamo-easy-demo) see [this](https://github.com/shiftcode/dynamo-easy-demo/issues/1) issue |
6 | 16 |
|
7 | 17 | ## Useful Links
|
8 | 18 |
|
9 | 19 | - [Doc in Repo](https://github.com/aws/aws-sdk-js-v3)
|
10 | 20 | - [Official migration Guide](https://github.com/aws/aws-sdk-js-v3/blob/main/UPGRADING.md)
|
11 | 21 |
|
12 |
| -## Todo |
13 |
| -Search for `TODO v3:` to see open issues / notes, here are some more general ones: |
14 |
| -- [x] Make sure the snippets compile |
15 |
| -- [ ] Check on new attribute type [$UnknownAttribute](./src/mapper/type/attribute.type.ts) and implement tests |
16 |
| -- [ ] Add new [demo](https://github.com/shiftcode/dynamo-easy-demo) with aws-cdk |
17 |
| -- [x] Make tests compile and run successfully |
18 |
| -- [ ] Remove [sessionValidityEnsurer](./src/config/dynamo-easy-config.ts) and add demo with using [middleware stack](https://github.com/aws/aws-sdk-js-v3#middleware-stack) |
19 |
| -to implement the same |
20 |
| -- [ ] Switch to new implementation of pagination, see [official doc](https://github.com/aws/aws-sdk-js-v3#paginators). |
|
0 commit comments