diff --git a/lib/groupher_server_web/router.ex b/lib/groupher_server_web/router.ex index 60651c76a..aca48af5d 100644 --- a/lib/groupher_server_web/router.ex +++ b/lib/groupher_server_web/router.ex @@ -5,11 +5,6 @@ defmodule GroupherServerWeb.Router do use Plug.ErrorHandler use Sentry.Plug - # see https://github.com/sikanhe/apollo-tracing-elixir/issues/26 - require Protocol - Protocol.derive(Jason.Encoder, ApolloTracing.Schema) - Protocol.derive(Jason.Encoder, ApolloTracing.Schema.Execution) - pipeline :api do plug(:accepts, ["json"]) plug(GroupherServerWeb.Context) diff --git a/mix.exs b/mix.exs index 9944c54b5..45186e971 100644 --- a/mix.exs +++ b/mix.exs @@ -82,7 +82,7 @@ defmodule GroupherServer.Mixfile do {:dataloader, "~> 1.0.2"}, {:mix_test_watch, "~> 0.9", only: :dev, runtime: false}, {:ex_unit_notifier, "~> 0.1", only: :test}, - {:apollo_tracing, "~> 0.4.1"}, + {:apollo_tracing, "~> 0.4.3"}, {:pre_commit, "~> 0.3.4"}, {:inch_ex, "~> 2.0", only: [:dev, :test]}, {:short_maps, "~> 0.1.1"}, diff --git a/mix.lock b/mix.lock index 87f5fb2ef..ea77c33b2 100644 --- a/mix.lock +++ b/mix.lock @@ -2,7 +2,7 @@ "absinthe": {:hex, :absinthe, "1.4.16", "0933e4d9f12652b12115d5709c0293a1bf78a22578032e9ad0dad4efee6b9eb1", [:mix], [{:dataloader, "~> 1.0.0", [hex: :dataloader, repo: "hexpm", optional: true]}, {:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm"}, "absinthe_ecto": {:hex, :absinthe_ecto, "0.1.3", "420b68129e79fe4571a4838904ba03e282330d335da47729ad52ffd7b8c5fcb1", [:mix], [{:absinthe, "~> 1.3.0 or ~> 1.4.0", [hex: :absinthe, repo: "hexpm", optional: false]}, {:ecto, ">= 0.0.0", [hex: :ecto, repo: "hexpm", optional: false]}], "hexpm"}, "absinthe_plug": {:hex, :absinthe_plug, "1.4.7", "939b6b9e1c7abc6b399a5b49faa690a1fbb55b195c670aa35783b14b08ccec7a", [:mix], [{:absinthe, "~> 1.4.11", [hex: :absinthe, repo: "hexpm", optional: false]}, {:plug, "~> 1.3.2 or ~> 1.4", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, - "apollo_tracing": {:hex, :apollo_tracing, "0.4.1", "210d20693f88bd133a55b04dc1d990ce68ce620a804773731faf180b8b85aa4e", [:mix], [{:absinthe, "~> 1.4", [hex: :absinthe, repo: "hexpm", optional: false]}, {:absinthe_plug, "~> 1.4", [hex: :absinthe_plug, repo: "hexpm", optional: true]}], "hexpm"}, + "apollo_tracing": {:hex, :apollo_tracing, "0.4.3", "6bc56132f4ab87223b10dc7ab91bf4374ba4033411ba80873f9f89caf15d7476", [:mix], [{:absinthe, "~> 1.4", [hex: :absinthe, repo: "hexpm", optional: false]}, {:absinthe_plug, "~> 1.4", [hex: :absinthe_plug, repo: "hexpm", optional: true]}, {:jason, "~> 1.1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm"}, "argon2_elixir": {:hex, :argon2_elixir, "1.2.14", "0fc4bfbc1b7e459954987d3d2f3836befd72d63f3a355e3978f5005dd6e80816", [], [{:elixir_make, "~> 0.4", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"}, "bamboo": {:hex, :bamboo, "1.3.0", "9ab7c054f1c3435464efcba939396c29c5e1b28f73c34e1f169e0881297a3141", [:mix], [{:hackney, ">= 1.13.0", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, "base64url": {:hex, :base64url, "0.0.1", "36a90125f5948e3afd7be97662a1504b934dd5dac78451ca6e9abf85a10286be", [:rebar], [], "hexpm"},