-
Notifications
You must be signed in to change notification settings - Fork 201
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
Assorted code clean-up for event stream with RPC-bound protocols #4023
Assorted code clean-up for event stream with RPC-bound protocols #4023
Conversation
A new generated diff is ready to view.
A new doc preview is ready to view. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing not in this PR that we might want to cleanup is not having to maintain this.
This most likely belongs on the Protocol interface or possibly the HttpBindingResolver
.
It may be fine for now but if a customer brings a new protocol they have no way to do this without modifying smithy-rs
(and of course if we implement a new RPC protocol we have to remember to update this).
This commit addresses #4023 (review)
A new generated diff is ready to view.
A new doc preview is ready to view. |
1964098
into
ysaito/support-event-stream-for-rpc-bound-protocols
Motivation and Context
This is the final PR in the series adding support for event streaming with RPC-bound protocols. It primarily focuses on addressing code cleanup tasks that were intentionally left in the previous two PRs.
Description
The code clean-up tasks include
DisableStalledStreamProtection
to disable stalled stream protection from at the top level ofClientCodegenVisitor
across the models, eliminating the need for individual service-specific codegen decorators just to disable stalled stream protection.eventStreamAllowList
.TODO(EventStream)
for RPC protocols.send
).Testing
DisableStalledStreamProtectionTest
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.