DoctrineMongoDBBundle icon indicating copy to clipboard operation
DoctrineMongoDBBundle copied to clipboard

Extract fixture loading command to separate bundle

Open alcaeus opened this issue 6 years ago • 4 comments
trafficstars

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).

alcaeus avatar Dec 04 '18 18:12 alcaeus

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?

malarzm avatar Dec 04 '18 23:12 malarzm

Yes, I believe so.

jwage avatar Dec 05 '18 01:12 jwage

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.

alcaeus avatar Dec 05 '18 08:12 alcaeus

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.

stale[bot] avatar Jan 21 '19 07:01 stale[bot]