i1494 passing opts to attributevalue marshalling#1495
Conversation
jasdel
left a comment
There was a problem hiding this comment.
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. |
jasdel
left a comment
There was a problem hiding this comment.
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 <961963+jasdel@users.noreply.github.com>
Fixes #1494