File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -49,19 +49,23 @@ Open a terminal in your current project directory and run:
49
49
$ composer require thecodingmachine/tdbm-graphql-bundle
50
50
```
51
51
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:
54
55
55
56
** config/bundles.php**
56
57
``` php
57
58
return [
58
59
// ...
59
- 'TheCodingMachine\\Tdbm\Graphql\\Bundle\\TdbmGraphqlBundle ' => ['all' => true],
60
+ 'TheCodingMachine\\Tdbm\Graphql\\Bundle\\TheCodingMachineTdbmGraphqlBundle ' => ['all' => true],
60
61
}
61
62
```
62
63
63
64
### Configuration
64
65
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
+
65
69
The parameters are stored in the ` config/packages/tdbm-graphql.yaml ` file.
66
70
67
71
By default, generated types will go into ` App\Types ` .
You can’t perform that action at this time.
0 commit comments