Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable join, handle_in, and handle_out hooks #30

Open
athal7 opened this issue Jan 12, 2018 · 1 comment
Open

Enable join, handle_in, and handle_out hooks #30

athal7 opened this issue Jan 12, 2018 · 1 comment

Comments

@athal7
Copy link

athal7 commented Jan 12, 2018

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
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants