-
Notifications
You must be signed in to change notification settings - Fork 535
Open
Labels
Description
I would like to suggest a new feature, like me and @benwilson512 discussed in the slack.
Phoenix proper allows managing presence per-channel with Phoenix.Presence. Absinthe currently lacks such feature, and it would be very beneficial to have something similiar.
Currently the only way for any application to support presence is to add a non-absinthe channel to the backend and ask frontend to join it in addition to subscribing to absinth-based graphql subscription.
I imagine, since, channels allow defining join/3
and terminate/2
functions, it should be possible to do the same per-graphql-subscription.
I know little of absinthe internals, but I offered my help on the slack, so, I'm happy to help designing this feature in any capacity I'm able to.
dorian-marchal