Add OverblogGraphqlBundle recipe (#94)

This commit is contained in:
Renato Mefi
2017-10-04 16:03:54 -07:00
committed by Symfony
parent 4e9fb878dc
commit 2ae5a2817a
6 changed files with 27 additions and 0 deletions
@@ -0,0 +1,11 @@
overblog_graphql:
definitions:
schema:
query: Query
mappings:
auto_discover: false
types:
-
type: yaml
dir: "%kernel.project_dir%/config/graphql/types"
suffix: ~
@@ -0,0 +1,2 @@
overblog_graphql_graphiql:
resource: "@OverblogGraphQLBundle/Resources/config/routing/graphiql.yml"
@@ -0,0 +1,2 @@
overblog_graphql_endpoint:
resource: "@OverblogGraphQLBundle/Resources/config/routing/graphql.yml"
@@ -0,0 +1,8 @@
{
"bundles": {
"Overblog\\GraphQLBundle\\OverblogGraphQLBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -0,0 +1,4 @@
<bg=blue;fg=white> Next for OverblogGraphQLBundle </>
1. Define your schema, read documentation <comment>https://github.com/overblog/GraphQLBundle/blob/master/Resources/doc/definitions/index.md</>
2. Browse to <comment>/graphiql</>
3. Optionally dump your schema: run <comment>bin/console graphql:dump-schema</comment>