-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
Adds nullish coalescing to output of Aws::SQS::Client#receive_message to an empty array #753
Adds nullish coalescing to output of Aws::SQS::Client#receive_message to an empty array #753
Conversation
@phstc any ideas on why Moto
AWS Client
|
@mkeemon thanks for checking it. The last release passed ✅ fine #751 I'm wondering if there's something with the AWS change, and now we need to specify the type to be JSON instead of XML somewhere here. I couldn't find an option on the initializer to configure that though. |
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-json-faqs.html It looks like 1.67.0 of Edit: 1.66.0 introduces JSON - 1.65.0 works with XML + Moto |
eb0a3bd
to
18cffbb
Compare
@mkeemon great find! Re-running tests. Thanks for helping with this. I really appreciate it. |
… to an empty array Pins aws-sdk-sqs to 1.65.0 to allow for XML responses
18cffbb
to
24640c0
Compare
@phstc done and done! |
I'm a bit curious, why the need to pin the version of aws sdk for tests if this PR fixes the issue with the newer versions? Won't that just prevent finding issues with newer versions of the sdk in the future? |
@mscrivo This PR was merged slightly before the one in Moto. I didn't realize just how quickly the Moto team would take action on this. We should be able to remove the strict versioning in the Gemfile now. Edit: It doesn't look like Moto has cut a new release that contains these changes just yet. |
@mkeemon version 6.1.1 is out with this PR! Thank you 🎉 |
Fixes #752 due to change in behavior of
aws-sdk-sqs
(aws/aws-sdk-ruby#2947)[]
to all invocations ofAws::SQS::Client#receive_message