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

pagination: omit aggregated client in paginators #712

Merged
merged 2 commits into from
Mar 7, 2023

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Mar 7, 2023

for aws/aws-sdk-js-v3#3093

Current paginators use a method based request if the client that is provided by the user is the aggregated client type.
This is not necessary because the aggregated client extends the barebones client and can still make Command-based requests with .send().

Inclusion of the aggregated client is detrimental because it imports all commands (and thus protocols/models) in a given service, increasing bundle size.

@kuhe kuhe requested review from a team as code owners March 7, 2023 16:46
@kuhe kuhe self-assigned this Mar 7, 2023
@kuhe kuhe merged commit 1b006f0 into smithy-lang:main Mar 7, 2023
@kuhe kuhe deleted the fix/paginator branch March 7, 2023 23:52
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
* pagination: omit aggregated client in paginators

* pagination: exclude aggregated client from pagination interface
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.

3 participants