This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ defmodule GroupherServerWeb.Router do
55 use Plug.ErrorHandler
66 use Sentry.Plug
77
8+ # see https://github.com/sikanhe/apollo-tracing-elixir/issues/26
9+ require Protocol
10+ Protocol . derive ( Jason.Encoder , ApolloTracing.Schema )
11+ Protocol . derive ( Jason.Encoder , ApolloTracing.Schema.Execution )
12+
813 pipeline :api do
914 plug ( :accepts , [ "json" ] )
1015 plug ( GroupherServerWeb.Context )
@@ -17,7 +22,7 @@ defmodule GroupherServerWeb.Router do
1722 "/" ,
1823 Absinthe.Plug.GraphiQL ,
1924 schema: GroupherServerWeb.Schema ,
20- # json_codec: Jason,
25+ json_codec: Jason ,
2126 pipeline: { ApolloTracing.Pipeline , :plug } ,
2227 interface: :playground ,
2328 context: % { pubsub: GroupherServerWeb.Endpoint }
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ defmodule GroupherServer.Mixfile do
5151 # Type `mix help deps` for examples and options.
5252 defp deps do
5353 [
54- { :phoenix , "~> 1.4.1 " } ,
55- { :phoenix_pubsub , "~> 1.1.1 " } ,
54+ { :phoenix , "~> 1.4.9 " } ,
55+ { :phoenix_pubsub , "~> 1.1.2 " } ,
5656 { :phoenix_html , "~> 2.13.3" } ,
5757 { :ecto_sql , "~> 3.1.2" } ,
5858 { :phoenix_ecto , "~> 4.0" } ,
You can’t perform that action at this time.
0 commit comments