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

Re-export HttpRequest and HttpResponse in client crates #3762

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

ysaito1001
Copy link
Contributor

Motivation and Context

#3591

Description

In early days of smithy-rs, we used to re-export Request and Response types. When we overhauled the underlying smithy runtime from middleware to orchestrator, we did not re-export the corresponding types HttpRequest and HttpResponse to client crates.

This PR will re-export them in crate::config::http.

Testing

Added a new test file for ClientRuntimeTypesReExportGenerator.kt that verifies re-exports.

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
  • I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

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

@ysaito1001 ysaito1001 requested review from a team as code owners July 15, 2024 21:12
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

Copy link
Contributor

@landonxjames landonxjames left a comment

Choose a reason for hiding this comment

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

Nice!

@ysaito1001 ysaito1001 added this pull request to the merge queue Jul 15, 2024
Merged via the queue into main with commit dc970b3 Jul 15, 2024
44 checks passed
@ysaito1001 ysaito1001 deleted the ysaito/reexport-http-request-response branch July 15, 2024 22:49
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