From 42a55a800e8cac8dcb67794740608ad763fdcba6 Mon Sep 17 00:00:00 2001 From: Clifton Wood Date: Wed, 10 Jul 2024 21:22:56 -0400 Subject: [PATCH] - Removes Associative role from Cro::Message in favor of .attributes. --- lib/Cro/Message.pm6 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Cro/Message.pm6 b/lib/Cro/Message.pm6 index 77b98f7..6967a73 100644 --- a/lib/Cro/Message.pm6 +++ b/lib/Cro/Message.pm6 @@ -2,12 +2,10 @@ # application is processing. It might be a message from a message queue, a # ZeroMQ message, a HTTP request, a HTTP response, etc. role Cro::Message { - also does Associative; - # cw: For OOB attributes associated with the messages. Consider # that there is no way to know who the message is from, # or where it is supposed to go. - has %!attributes handles ; + has %.attributes; # Provides trace output for use with CRO_TRACE=1 and `cro trace ...`.