Skip to content

Commit 6c1bc9f

Browse files
committed
Improcing GraphQLite documentation
1 parent 07907b3 commit 6c1bc9f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/graphqlite.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,23 @@ Open a terminal in your current project directory and run:
4949
$ composer require thecodingmachine/tdbm-graphql-bundle
5050
```
5151

52-
Enable the library by adding it to the list of registered bundles in the `config/bundles.php` file
53-
(`app/AppKernel.php` for Symfony 3.x):
52+
If you are using Flex, you are done. Jump to the [Annotating your DB model](#annotating-your-db-model) section.
53+
54+
Not using Flex? Enable the library by adding it to the list of registered bundles in the `config/bundles.php` file:
5455

5556
**config/bundles.php**
5657
```php
5758
return [
5859
// ...
59-
'TheCodingMachine\\Tdbm\Graphql\\Bundle\\TdbmGraphqlBundle' => ['all' => true],
60+
'TheCodingMachine\\Tdbm\Graphql\\Bundle\\TheCodingMachineTdbmGraphqlBundle' => ['all' => true],
6061
}
6162
```
6263

6364
### Configuration
6465

66+
<div class="alert alert-warning">Configuration is only needed for tdbm-graphql-bundle version 3.x.
67+
Starting with tdbm-graphql-bundle v4, there is no configuration necessary, you can completely skip this part.</div>
68+
6569
The parameters are stored in the `config/packages/tdbm-graphql.yaml` file.
6670

6771
By default, generated types will go into `App\Types`.

0 commit comments

Comments
 (0)