Merge pull request #4841 from consul/customize_graphql
Make it possible to customize GraphQL types
This commit is contained in:
0
app/graphql/custom/mutations/.keep
Normal file
0
app/graphql/custom/mutations/.keep
Normal file
0
app/graphql/custom/types/.keep
Normal file
0
app/graphql/custom/types/.keep
Normal file
@@ -106,6 +106,7 @@ module Consul
|
|||||||
#
|
#
|
||||||
config.autoload_paths << "#{Rails.root}/app/components/custom"
|
config.autoload_paths << "#{Rails.root}/app/components/custom"
|
||||||
config.autoload_paths << "#{Rails.root}/app/controllers/custom"
|
config.autoload_paths << "#{Rails.root}/app/controllers/custom"
|
||||||
|
config.autoload_paths << "#{Rails.root}/app/graphql/custom"
|
||||||
config.autoload_paths << "#{Rails.root}/app/models/custom"
|
config.autoload_paths << "#{Rails.root}/app/models/custom"
|
||||||
config.paths["app/views"].unshift(Rails.root.join("app", "views", "custom"))
|
config.paths["app/views"].unshift(Rails.root.join("app", "views", "custom"))
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user