🔥 initial commit 🔥
This commit is contained in:
14
lib/mixer_web/graphql_socket.ex
Normal file
14
lib/mixer_web/graphql_socket.ex
Normal file
@@ -0,0 +1,14 @@
|
||||
defmodule MixerWeb.GraphqlSocket do
|
||||
use Phoenix.Socket
|
||||
|
||||
use Absinthe.Phoenix.Socket,
|
||||
schema: MixerWeb.GraphqlSchema
|
||||
|
||||
@impl true
|
||||
def connect(_params, socket, _connect_info) do
|
||||
{:ok, socket}
|
||||
end
|
||||
|
||||
@impl true
|
||||
def id(_socket), do: nil
|
||||
end
|
||||
Reference in New Issue
Block a user