mongodb-odm icon indicating copy to clipboard operation
mongodb-odm copied to clipboard

Add `dm` input option to commands that requires it

Open franmomu opened this issue 1 year ago • 0 comments

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Right now it gets the documentManager from a helper:

https://github.com/doctrine/mongodb-odm/blob/3171964251eb42bac7ff0a57af02e720366081d9/lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/AbstractCommand.php#L61-L65

we can add it as an input option and have something similar to AbstractEntityManagerCommand, that way we could use these commands directly from the bundle instead of creating proxy commands.

franmomu avatar Dec 09 '23 17:12 franmomu