Skip to content

Updates for HTTP serde correctness and safety #52

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

Merged
merged 3 commits into from
Dec 12, 2019
Merged

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Dec 10, 2019

This commit includes updates to Http ProtocolGenerator components for
correctness and safety.

  1. It fixes generation issues for the @httpPrefixHeaders trait in
    the HttpBindingProtocolGenerator.
  2. It updates SerdeContext to use an import alias for safety.
  3. It only generates a local parsedOutput if it will be consumed.
  4. It adds the Error type to the list of Typescript reserved words.

Use Model instead of deprecated ShapeIndex. This commit will require using the latest version of Smithy published locally.


Use better name for document body shape serde gen

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This commit includes updates to Http ProtocolGenerator components for
correctness and safety.

1. It fixes generation issues for the @httpPrefixHeaders trait in
the HttpBindingProtocolGenerator.
2. It updates SerdeContext to use an import alias for safety.
3. It only generates a local parsedOutput if it will be consumed.
4. It adds the Error type to the list of Typescript reserved words.
@kstich kstich requested a review from mtdowling December 10, 2019 19:18
@kstich kstich requested a review from mtdowling December 11, 2019 05:19
@kstich kstich merged commit 5365571 into master Dec 12, 2019
@kstich kstich deleted the protocol_fixes_2 branch December 12, 2019 19:44
srchase pushed a commit that referenced this pull request Mar 23, 2023
* Add README files to credential provider packages

* Be stricter in documentation about which date strings are accepted
srchase pushed a commit that referenced this pull request Jun 16, 2023
* Add README files to credential provider packages

* Be stricter in documentation about which date strings are accepted
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.

2 participants