mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Merge pull request #458
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user