OverblogGraphQLBundle: Updated recipe to support version 0.11.* where GraphiQL is now split from the bundle

This commit is contained in:
Renato Mendes Figueiredo
2017-11-27 16:45:48 +01:00
parent c6cfc77e7b
commit 15dc54b36f
5 changed files with 25 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_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. If you want to see your dumped schema (really not necessary for bootstrap): run <comment>bin/console graphql:dump-schema</comment>
3. If you want to have GraphiQL to browse your API run: <comment>composer req --dev overblog/graphiql-bundle</comment>