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

Fix lack of the Sync auto trait on event stream outputs #2496

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

jdisanti
Copy link
Collaborator

@jdisanti jdisanti commented Mar 24, 2023

Motivation and Context

Noticed S3's SelectObjectContentOutput doesn't implement Sync while every other output type does. Looks like trait bounds on a Box<dyn> inside of the event stream Receiver were to blame.

Testing

Verified SelectObjectContentOutput now implements Sync via cargo doc.

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.

@jdisanti jdisanti force-pushed the jdisanti-fix-event-stream-output-auto-traits branch from 5774477 to 739b479 Compare March 24, 2023 00:57
@jdisanti jdisanti force-pushed the jdisanti-fix-event-stream-output-auto-traits branch from 739b479 to fa55033 Compare March 24, 2023 01:00
@github-actions
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python

A new doc preview is ready to view.

@jdisanti jdisanti marked this pull request as ready for review March 24, 2023 01:44
@jdisanti jdisanti requested review from a team as code owners March 24, 2023 01:44
@jdisanti jdisanti requested review from pose and crisidev March 24, 2023 01:44
@jdisanti jdisanti enabled auto-merge March 24, 2023 21:30
@github-actions
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python

A new doc preview is ready to view.

@jdisanti jdisanti added this pull request to the merge queue Mar 24, 2023
Merged via the queue into main with commit db76db9 Mar 24, 2023
@jdisanti jdisanti deleted the jdisanti-fix-event-stream-output-auto-traits branch March 24, 2023 22:24
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