mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 12:53:40 +12:00
improvement: Set up GraphQL schema file in the web module namespace (#205)
This keeps consistency with AshJsonApi, which generates its router in the web module namespace as well
This commit is contained in:
parent
4773f76636
commit
c3544dfe29
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ defmodule Mix.Tasks.AshGraphql.Install do
|
|||
|> Spark.Igniter.prepend_to_section_order(:"Ash.Resource", [:graphql])
|
||||
|> Spark.Igniter.prepend_to_section_order(:"Ash.Domain", [:graphql])
|
||||
|
||||
schema_name = Igniter.Code.Module.module_name("GraphqlSchema")
|
||||
schema_name = Igniter.Libs.Phoenix.web_module_name("GraphqlSchema")
|
||||
|
||||
{igniter, candidate_ash_graphql_schemas} =
|
||||
AshGraphql.Igniter.ash_graphql_schemas(igniter)
|
||||
|
|
Loading…
Reference in a new issue