Closed gomete closed 3 years ago
In order to reduce typos, a list of exchange types could be provided as it is a short limited list: The type of the exchange. Can be either topic, direct, fanout, default or headers. (https://github.com/asyncapi/bindings/blob/master/amqp/README.md#channel).
The type of the exchange. Can be either topic, direct, fanout, default or headers.
The is property is an enum and this exchange.type seems to be the same case but:
is
exchange.type
So my proposal is to provide a static class with a list of constants just to have the supported options.
Closed by #74
In order to reduce typos, a list of exchange types could be provided as it is a short limited list:
The type of the exchange. Can be either topic, direct, fanout, default or headers.
(https://github.com/asyncapi/bindings/blob/master/amqp/README.md#channel).The
is
property is an enum and thisexchange.type
seems to be the same case but:is
.So my proposal is to provide a static class with a list of constants just to have the supported options.