Merge pull request #458

This commit is contained in:
symfony-flex-server[bot]
2018-09-09 20:12:37 +00:00
committed by GitHub
7 changed files with 27 additions and 2 deletions
@@ -1,4 +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</>
1. Define your schema, read documentation <comment>https://github.com/overblog/GraphQLBundle/blob/0.11/docs/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>
@@ -0,0 +1,10 @@
overblog_graphql:
definitions:
schema:
query: Query
mappings:
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/docs/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>
+2 -1
View File
@@ -1,4 +1,5 @@
<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</>
1. Define your schema, read documentation <comment>https://github.com/overblog/GraphQLBundle/blob/0.9/Resources/doc/definitions/index.md</> or
<comment>https://github.com/overblog/GraphQLBundle/blob/0.10/Resources/doc/definitions/index.md</>
2. Browse to <comment>/graphiql</>
3. Optionally dump your schema: run <comment>bin/console graphql:dump-schema</comment>