Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(storage): address actionable TODOs #12414

Merged
merged 12 commits into from
Oct 30, 2023

Conversation

AllanZhengYP
Copy link
Contributor

Description of changes

This change mainly addresses

  1. debug messages that's in TODOs (some warning TODOs still present)
  2. address note for known bug of chunking long string
  3. Miscellaneous actional TODOs

Description of how you validated changes

Unit test

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@AllanZhengYP AllanZhengYP requested a review from a team as a code owner October 24, 2023 23:13
@AllanZhengYP AllanZhengYP changed the title fix(storage): address most actionable TODOs fix(storage): address actionable TODOs Oct 25, 2023
@AllanZhengYP AllanZhengYP requested review from a team as code owners October 25, 2023 00:09
@AllanZhengYP AllanZhengYP changed the base branch from next/main to main October 30, 2023 16:21
Copy link
Contributor

@ashwinkumar6 ashwinkumar6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
thanks for adding this in

Copy link
Contributor

@jimblanc jimblanc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one question. Thanks for doing this!

Comment on lines -68 to -69
} else if (!response.body) {
throw new Error('Got empty response body.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this no longer something we need to check for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The body always exists but initially typed as optional.

@AllanZhengYP AllanZhengYP merged commit 20e9a79 into aws-amplify:main Oct 30, 2023
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants