refactor: remove RabbitQueue & RabbitExchange hashes #2034
Labels
enhancement
New feature or request
RabbitMQ
Issues related to `faststream.rabbit` module and RabbitMQ broker features
Milestone
These classes are using to cache real connection objects https://github.com/airtai/faststream/blob/0.6.0/faststream/rabbit/helpers/declarer.py#L15-L16
So, we should use hash to be sure, that user call declarer for the same object
https://github.com/airtai/faststream/blob/0.6.0/faststream/rabbit/schemas/queue.py#L57
Thus, we should make a bunch of unit-tests to be prevent incorrect collisions
https://github.com/airtai/faststream/blob/0.6.0/tests/brokers/rabbit/test_schemas.py
The text was updated successfully, but these errors were encountered: