Skip to content

Commit 85cba44

Browse files
mysiardunglas
authored andcommitted
update config section to ease first start (#326)
1 parent 6f3e00f commit 85cba44

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

core/graphql.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Once enabled, you have nothing to do: your schema describing your API is automat
1212

1313
## Enabling GraphQL
1414

15-
To enable GraphQL in your API, simply require the graphql-php package using Composer:
15+
To enable GraphQL and GraphiQL interface in your API, simply require the graphql-php package using Composer:
1616

1717
$ composer require webonyx/graphql-php
1818

@@ -26,7 +26,9 @@ If you need to disable it, it can be done in the configuration:
2626

2727
```yaml
2828
# app/config/config.yml
29-
graphql:
30-
enabled: true
31-
graphiql: false
29+
api_platform:
30+
graphql:
31+
graphiql:
32+
enabled: false
33+
# ...
3234
```

0 commit comments

Comments
 (0)