Skip to content

fix non modular client generation #50

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 2 commits into from
Dec 12, 2019

Conversation

AllanZhengYP
Copy link
Contributor

@AllanZhengYP AllanZhengYP commented Dec 7, 2019

These changes are included:

  1. populate parseBody() for non streaming command reponse and errors:
    When preparing reponse body for command deserializers or error
    deserializers, we don't always collect response body binaries
    in structured JS object. If the command ouput or error has a
    streaming trait, we need to keep the response body intact and
    return users the raw response stream.

  2. Update non-modular client generator to reflect the newest client interface

  3. Fix typing issues in commands

This PR generates a buildable full-blood RDS-data client: aws/aws-sdk-js-v3#496

/cc @kstich

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

@AllanZhengYP AllanZhengYP force-pushed the zheallan-dev branch 2 times, most recently from 05fbff6 to 557293f Compare December 9, 2019 17:50
Also update operation deserializer to only parse body when for non streaming operation
deserializer. This way we won't wait and collect the streaming
response
@kstich kstich self-requested a review December 9, 2019 18:44
@AllanZhengYP AllanZhengYP force-pushed the zheallan-dev branch 6 times, most recently from 46ef292 to dfb3c94 Compare December 11, 2019 18:19
When preparing reponse body for command deserializers or error
deserializers, we don't always collect response body binaries
in structured JS object. If the command ouput or error has a
streaming trait, we need to keep the response body intact and
return users the raw response stream.
@kstich kstich merged commit 8966144 into smithy-lang:master Dec 12, 2019
srchase pushed a commit that referenced this pull request Mar 23, 2023
* implement ec2-marshaller

* enable xml parser to handle resultWrapper and requestId in body; impliment a query-unmarshaller to unmarshal query including ec2

* sort the keys in structure shape

* add httpResponse to ResponseMetadata

* move query-marshaller & query-unmarshaller to protocol-query
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