mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-17 01:56:28 +03:00
Add OverblogGraphqlBundle recipe (#94)
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user