ruby-amqp / bunny

Bunny is a popular, easy to use, mature Ruby client for RabbitMQ
Other
1.39k stars 303 forks source link

Fix non bang merge #649

Closed rene-muehlboeck closed 1 year ago

rene-muehlboeck commented 1 year ago

A quorum queue can't be created because the x-queue-type argument isn't merged into @options[:arguments]

michaelklishin commented 1 year ago

But the merged map is returned by the if expression. I will try to reproduce but do not like mutating methods like this where they can be avoided.

michaelklishin commented 1 year ago

A slightly different solution is out in 2.20.2. Thank you.

rene-muehlboeck commented 1 year ago

Thank you for the quick solution!