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
5
5
use Plug.ErrorHandler
6
6
use Sentry.Plug
7
7
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
+
8
13
pipeline :api do
9
14
plug ( :accepts , [ "json" ] )
10
15
plug ( GroupherServerWeb.Context )
@@ -17,7 +22,7 @@ defmodule GroupherServerWeb.Router do
17
22
"/" ,
18
23
Absinthe.Plug.GraphiQL ,
19
24
schema: GroupherServerWeb.Schema ,
20
- # json_codec: Jason,
25
+ json_codec: Jason ,
21
26
pipeline: { ApolloTracing.Pipeline , :plug } ,
22
27
interface: :playground ,
23
28
context: % { pubsub: GroupherServerWeb.Endpoint }
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ defmodule GroupherServer.Mixfile do
51
51
# Type `mix help deps` for examples and options.
52
52
defp deps do
53
53
[
54
- { :phoenix , "~> 1.4.1 " } ,
55
- { :phoenix_pubsub , "~> 1.1.1 " } ,
54
+ { :phoenix , "~> 1.4.9 " } ,
55
+ { :phoenix_pubsub , "~> 1.1.2 " } ,
56
56
{ :phoenix_html , "~> 2.13.3" } ,
57
57
{ :ecto_sql , "~> 3.1.2" } ,
58
58
{ :phoenix_ecto , "~> 4.0" } ,
You can’t perform that action at this time.
0 commit comments