Skip to content

Commit e75b772

Browse files
author
Josh Price
committed
Put the schema.json in priv/graphql
Repo is Ecto specific
1 parent 6d5e4d5 commit e75b772

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ config :logger, level: :info
3333
# Example
3434
# config :graphql_relay,
3535
# schema_module: GraphQL.Schema.Root,
36-
# schema_json_path: "#{Path.dirname(__DIR__)}/priv/repo/graphql"
36+
# schema_json_path: "#{Path.dirname(__DIR__)}/priv/graphql"
3737

3838
# Import environment specific config. This must remain at the bottom
3939
# of this file so it overrides the configuration defined above.

examples/todo/config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ config :phoenix, :generators,
3030

3131
config :graphql_relay,
3232
schema_module: Todo.GraphQL.Schema.Root,
33-
schema_json_path: "#{Path.dirname(__DIR__)}/priv/repo/graphql"
33+
schema_json_path: "#{Path.dirname(__DIR__)}/priv/graphql"

examples/todo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"metadata": {
3131
"graphql": {
32-
"schema": "./priv/repo/graphql/schema.json"
32+
"schema": "./priv/graphql/schema.json"
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)