I'm seeing [warning] unhandled message %{"type" => "pong"} in the console. I wouldn't expect my client (Apollo Client) to be sending a pong message, but I guess it is? Would it make sense to add a handle_inbound clause to handle pong messages, and if so what should its return value be? I was thinking the following would be appropriate.
def handle_inbound(%{"type" => "pong"}, socket), do: {:ok, socket}