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

Avoid exposing Arced ResolveEndpoint in public API #2758

Merged
merged 5 commits into from
Jun 9, 2023

Conversation

ysaito1001
Copy link
Contributor

@ysaito1001 ysaito1001 commented Jun 8, 2023

Motivation and Context

Hides Arc<dyn ResolveEndpoint> from public API.

Description

This PR replaces the occurrences of Arc<dyn ResolveEndpoint> with SharedEndpointResolver to not expose bare Arcs in the public API.

Testing

  • Passed tests in CI

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or 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 added the breaking-change This will require a breaking change label Jun 8, 2023
@github-actions
Copy link

github-actions bot commented Jun 8, 2023

A new generated diff is ready to view.

A new doc preview is ready to view.

@github-actions
Copy link

github-actions bot commented Jun 8, 2023

A new generated diff is ready to view.

A new doc preview is ready to view.

@ysaito1001 ysaito1001 marked this pull request as ready for review June 8, 2023 20:01
@ysaito1001 ysaito1001 requested review from a team as code owners June 8, 2023 20:01
@github-actions
Copy link

github-actions bot commented Jun 9, 2023

A new generated diff is ready to view.

A new doc preview is ready to view.

@ysaito1001 ysaito1001 enabled auto-merge June 9, 2023 15:30
@ysaito1001 ysaito1001 added this pull request to the merge queue Jun 9, 2023
@github-actions
Copy link

github-actions bot commented Jun 9, 2023

A new generated diff is ready to view.

A new doc preview is ready to view.

Merged via the queue into main with commit ec45767 Jun 9, 2023
@ysaito1001 ysaito1001 deleted the ysaito/replace-arc-resolve-endpoint-with-newtype branch June 9, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This will require a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants