Added recipe for watchtower-bundle (#1528)

* Added recipe for watchtower-bundle

* Fixed CI issues

* Added default directories for plugins and scalar_type_definitions

* Updated default location of schema file
This commit is contained in:
James Wedam Anewenah
2023-07-10 13:24:47 -04:00
committed by GitHub
parent 74ab5e1271
commit d0e8c12b04
10 changed files with 28 additions and 0 deletions
@@ -0,0 +1,18 @@
wedrix_watchtower:
endpoint: '/graphql.json'
schema_file: '%kernel.project_dir%/config/watchtower/schema.graphql'
plugins_directory: '%kernel.project_dir%/config/watchtower/plugins'
scalar_type_definitions_directory: '%kernel.project_dir%/config/watchtower/scalar_type_definitions'
schema_cache_directory: '%kernel.project_dir%/var/cache/watchtower/schema'
cache_schema: false
debug: true
context:
# Register services here to access them in the context param.
# The service key can be any name of your choosing but the value should be the service id.
# For example: entity_manager: 'doctrine.orm.entity_manager'
entity_manager: 'doctrine.orm.entity_manager'
when@prod:
wedrix_watchtower:
cache_schema: true
debug: false
@@ -0,0 +1,2 @@
wedrix_watchtower_bundle_routes:
resource: '@WedrixWatchtowerBundle/config/routes.yaml'
@@ -0,0 +1,8 @@
{
"bundles": {
"Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}