You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
Thank you for integration of API Platform in make:entity command. Probably I have some specific case, but I would like to know how to treat or to fix it.
I'm doing reverse engineering with DB schema. I crate tables through MySQL Workbench. After that I run next command to create entity with properties for tables in DB:
This command generates getters/setter in entity class, but if I try to add --api-resource flag, it is simply ignored and I have to add annotation @ApiResource manually.
Do you have any ideas how to treat this case? I'm also able to contribute it, if any work is required 🙂
Thanks!
The text was updated successfully, but these errors were encountered:
We have the very same use case, and few dozens of tables. It would be really nice if the option --api-resource would work with already existing entities. I think that's a common scenario.
Hello.
Thank you for integration of API Platform in
make:entity
command. Probably I have some specific case, but I would like to know how to treat or to fix it.I'm doing reverse engineering with DB schema. I crate tables through MySQL Workbench. After that I run next command to create entity with properties for tables in DB:
And the next step is command:
This command generates getters/setter in entity class, but if I try to add
--api-resource
flag, it is simply ignored and I have to add annotation@ApiResource
manually.Do you have any ideas how to treat this case? I'm also able to contribute it, if any work is required 🙂
Thanks!
The text was updated successfully, but these errors were encountered: