-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
It would be great if it was possible to set these logging options for Phoenix.Channel
Right now, since use Phoenix.Channel
is done inside Absinthe.Phoenix.Channel there is no way of setting them from what I can see.
A walkaround that feels a bit hacky is to do something like this in the socket connect callback:
def connect(params, socket) do
socket = %{
socket
| private:
Map.merge(socket.private, %{
log_join: false,
log_handle_in: false
})
}
{:ok, socket}
end
bfad, gorkunov and gbrlcustodio
Metadata
Metadata
Assignees
Labels
No labels