File tree Expand file tree Collapse file tree 3 files changed +0
-111
lines changed Expand file tree Collapse file tree 3 files changed +0
-111
lines changed Original file line number Diff line number Diff line change @@ -170,20 +170,6 @@ php bin/console api:push my_document_name
170
170
Then you also need to provide a client id and secret for your account. The TypeHub platform basically tracks all changes of
171
171
the API specification and it is possible to download different SDKs.
172
172
173
- ### Table
174
-
175
- At last there is a command to generate table classes for your API which is a lightweight alternative
176
- to Doctrine. This is complete optional and only useful if you like to write raw SQL queries. The command
177
- reads all tables from you database and generates type-safe repositories for each table at the ` src/Table ` folder.
178
-
179
- ```
180
- php bin/console generate:table
181
- ```
182
-
183
- This approach is database-first, instead of defining your database schema at an entity we use a tool like
184
- Doctrine Migrations to build the database schema and then you can use the command to generate all table
185
- classes.
186
-
187
173
## Technical
188
174
189
175
This bundle tries to not change any Symfony behaviour, for example we use the existing ` #[Route] ` attribute instead
Original file line number Diff line number Diff line change 102
102
->arg ('$projectDir ' , param ('kernel.project_dir ' ));
103
103
$ services ->set (SdkCommand::class)
104
104
->arg ('$projectDir ' , param ('kernel.project_dir ' ));
105
- $ services ->set (TableCommand::class)
106
- ->arg ('$projectDir ' , param ('kernel.project_dir ' ));
107
105
$ services ->set (PushCommand::class);
108
106
109
107
$ services ->set (ControllerArgumentsListener::class);
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments