Open gregurco opened 5 years ago
Any updates on this?
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.
I have the same issue here.
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 :slightly_smiling_face:
Thanks!