Skip to content

Commit bca40c6

Browse files
committed
Avoid using a type from rabbit in rabbit_common to avoid a dep cycle
1 parent b205ac9 commit bca40c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit_common/src/rabbit_exchange_type.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
%% The no_return is there so that we can have an "invalid" exchange
2626
%% type (see rabbit_exchange_type_invalid).
2727
-callback route(rabbit_types:exchange(), rabbit_types:delivery()) ->
28-
rabbit_router:match_result().
28+
[rabbit_types:binding_destination()].
2929

3030
%% called BEFORE declaration, to check args etc; may exit with #amqp_error{}
3131
-callback validate(rabbit_types:exchange()) -> 'ok'.

0 commit comments

Comments
 (0)