diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 12e0a5e..33db0e1 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -18,10 +18,13 @@ jobs: - "1.13" - "1.14" - "1.15" + - "1.16" + - "1.17" otp: - "24" - "25" - "26" + - "27" include: - elixir: "1.15" otp: "26" @@ -31,6 +34,16 @@ jobs: otp: "26" - elixir: "1.14" otp: "26" + - elixir: "1.13" + otp: "27" + - elixir: "1.14" + otp: "27" + - elixir: "1.15" + otp: "27" + - elixir: "1.16" + otp: "27" + - elixir: "1.17" + otp: "24" steps: - uses: actions/checkout@v2 diff --git a/lib/absinthe/plug/graphiql.ex b/lib/absinthe/plug/graphiql.ex index ecd1e12..561e74d 100644 --- a/lib/absinthe/plug/graphiql.ex +++ b/lib/absinthe/plug/graphiql.ex @@ -321,7 +321,7 @@ defmodule Absinthe.Plug.GraphiQL do defp find_socket_path(conn, socket) do if endpoint = conn.private[:phoenix_endpoint] do - Enum.find_value(endpoint.__sockets__, :error, fn + Enum.find_value(endpoint.__sockets__(), :error, fn # Phoenix 1.4 {path, ^socket, _opts} -> {:ok, path} # Phoenix <= 1.3