-
Notifications
You must be signed in to change notification settings - Fork 218
Fix payload deserialization where we need to return an Optional type when the member is non-streaming #1166
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
Conversation
…en the member is streaming
A new doc preview is ready to view. |
A new generated diff is ready to view.
|
A new doc preview is ready to view. |
A new generated diff is ready to view.
|
…n input structure
A new doc preview is ready to view. |
A new generated diff is ready to view.
|
A new doc preview is ready to view. |
A new generated diff 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.
The commit + PR message seems inaccurate. It reads "Fix payload serialization where we need to return an Optional type when the member is streaming", but:
- the change affects payload deserialization.
- the return type is optional when the output member is non-streaming.
...in/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/http/HttpBindingGenerator.kt
Show resolved
Hide resolved
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!
Fixes: #1159
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.