Enable join, handle_in, and handle_out hooks
athal7 opened this issue · 1 comments
athal7 commented
I'd like to be able to gather some data about the messages being sent over a subscription as well as the socket over which it is being sent. Right now it doesn't appear that there is a clean way to integrate with the auto-generated channels and topics.
slashdotdash commented
@athal7 You can use the following Absinthe channel decorator approach to extend the join
and handle_in
functions.
It would be useful for Absinthe Phoenix to provide these hooks directly, without needing to do the above customisation.