doctrine / DoctrineMongoDBBundle

Integrates Doctrine MongoDB ODM with Symfony
http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html
MIT License
382 stars 230 forks source link

Extract fixture loading command to separate bundle #509

Open alcaeus opened 5 years ago

alcaeus commented 5 years ago

To better separate concerns and keep track of dependencies, we should extract the LoadDataFixturesDoctrineODMCommand to a separate bundle and release it as a separate package (comparable to DoctrineBundle and DoctrineFixturesBundle).

malarzm commented 5 years ago

While reason is plausible, I'm not sure extracting a single command to a bundle is the best course of action.

Offhand, https://github.com/doctrine/DoctrineFixturesBundle is mentioning ODM in the readme, does that bundle support ODM already?

jwage commented 5 years ago

Yes, I believe so.

alcaeus commented 5 years ago

At the moment, the bundle does not support ODM - I'll check if it can easily be changed to do so. The reason I want to extract it is to have a purpose-built bundle that integrates mongodb-odm and data-fixtures. At this stage, you see the command but can't run it unless you know that you have to require data-fixtures as well.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.