Skip to content

Conversation

@orien
Copy link
Member

@orien orien commented Dec 27, 2022

The AWS SDK accepts an options hash as arguments, not keyword arguments. We've been relying on Ruby to automatically convert keyword arguments into an options hash. This implicit conversion is frowned upon with Ruby 3 and becomes a problem in Ruby 3.2.

Let's avoid this and explicitly pass an options hash.

The AWS SDK accepts an options hash as arguments, not keyword arguments.
We've been relying on Ruby to automatically convert keyword arguments
into an options hash. Let's avoid this implicit conversion and
explicitly pass an options hash.
@orien orien requested review from stergiom and viraptor December 29, 2022 22:06
Copy link

@stergiom stergiom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 Nice. Sorry, late to review (missed this PR somehow).

@orien orien merged commit ef31aeb into master Jan 31, 2023
@orien orien deleted the aws-sdk-interface branch January 31, 2023 01:03
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.

3 participants