Skip to content
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

Fixes issue when serializing ChannelDetails as an empty array #284

Conversation

vitorquintanilha
Copy link
Contributor

Because of rabbitmq/rabbitmq-server#2684, in all RabbitMQ versions until 3.11.8, the
.consumer_details.channel_details attribute for a queue could be sent as an empty array ([]) instead an empty object ({}).

This PR provides a fix to that by customizing the json serializarion of ChannelDetails.

Because of rabbitmq/rabbitmq-server#2684, in
all RabbitMQ versions until 3.11.8, the
`.consumer_details.channel_details` attribute for a queue could be
sent as an empty array (`[]`) instead an empty object (`{}`).

This PR provides a fix to that by customizing the json serializarion
of ChannelDetails.
@michaelklishin michaelklishin merged commit d10d27c into michaelklishin:main Sep 25, 2023
@michaelklishin michaelklishin added this to the 2.16.0 milestone Sep 25, 2023
@michaelklishin
Copy link
Owner

Thank you!

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.

2 participants