DevtimeBackboneBundle
DevtimeBackboneBundle copied to clipboard
Annotations to generate backbone code.
Hello,
It would be cool to be able to have some annotation system on entities or documents to be able to generate the backbone classes accordingly. Stuff like validation for entities, or even routing inside a controller.
Then we could just extend the generated classes to modify the code.
Hi,
That's a very good idea, I don't have much time to work on it right now though, but if you can please send a PR, thanks
How about integrating with schmittjoh/serializer annotations? Thus you can generate models perfectly aligned with what your controllers serialize.
@schmittjoh do you think it's a good idea? hints would be appreciated!