Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Symfony 4 Bundle-less applications #479

Closed
altaraven opened this issue Oct 1, 2018 · 5 comments
Closed

Add support for Symfony 4 Bundle-less applications #479

altaraven opened this issue Oct 1, 2018 · 5 comments
Assignees

Comments

@altaraven
Copy link

As we know, Symfony 4 now follows bundle-less philosophy. But console commands like
doctrine:mongodb:generate:documents
require a bundle argument.
Please fix this.

@alcaeus alcaeus self-assigned this Oct 2, 2018
@alcaeus
Copy link
Member

alcaeus commented Oct 2, 2018

We've previously mentioned it in other tickets, but we will no longer provide document generation features in this bundle or ODM directly. For ORM, the MakerBundle contains a make:entity command that is more flexible than the code generation tools ORM had before. I believe that ODM should go the same route, with document generation being part of MakerBundle or a library building on top of it. However, we are not willing to handle the complexity for now, especially with other, much better tools being available.

Since DocumentGenerator has been dropped from ODM 2.0, the respective commands will be dropped from the bundle before Beta 1 without replacement.

@altaraven
Copy link
Author

Thanks for info. I hope these commands will be removed from 4.x documentation.

@alcaeus
Copy link
Member

alcaeus commented Oct 2, 2018

They will be.

@cmukanisa
Copy link

what will I do then in this case?

@alcaeus
Copy link
Member

alcaeus commented Nov 1, 2018

Please do not resurface other issues - instead keep the information in a single one - #498 in this case. The answer has been given multiple times in the other issues you commented in.

@doctrine doctrine locked as resolved and limited conversation to collaborators Nov 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants