rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
11.85k stars 3.9k forks source link

Follow-up to #11457 #11528

Closed michaelklishin closed 1 week ago

michaelklishin commented 1 week ago

The queue type argument won't always be a binary, for example, when a virtual host is created.

As such, the validation code should accept at least atoms in addition to binaries.

While at it, improve logging and error reporting when DQT validation fails, and while at it, make the definition import tests focussed on virtual host a bit more robust.

Fixes a subtle regression introduced in #11457.