-
Notifications
You must be signed in to change notification settings - Fork 653
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
i1494 passing opts to attributevalue marshalling #1495
Conversation
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.
Thanks for taking the time to create this PR @radutopala. Modifing the signatures of the Marshal
methods would be a breaking change, and we could not release it.
Alternatively new Marshal
methods could be defined with different names, e.g. MarshalWithOptions
to take the functional options.
Also we'd probably want similar new functions for the Unmarshal
set of functions.
Adding |
Thanks for the feedback. Adding a variadic arg to a function call will not break existing callers, but since in Go functions can be types and variables, any application that creates a variable or struct member type matching the |
@jasdel it's an extreme edge case, wondering who'd use this pattern with this specific func. But ok, better safe! I'll push some changes. |
@jasdel branch updated, please CR / provide next steps. |
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.
Thanks for taking the time to put this PR together, and make the requested updates. I've added changelog notes to the PR. We'll get this update merged in and released in the SDK's next update.
Fixes the SDK's code generation to pin smithy-cli to $smithyVersion to restrict the supported version.
Fixes the SDK's code generation to pin smithy-cli to $smithyVersion to restrict the supported version. Co-authored-by: Jason Del Ponte <[email protected]>
Fixes #1494