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

Feature request: Implement a DocumentType or MongoDocumentType Field à la EntityType field #749

Closed landure closed 2 years ago

landure commented 2 years ago

Symfony provides a simple way to create select fields from database tables using the EntityType field.

Unfortunately, as far as I was able to find, Doctrine ODM does not provide an equivalent field for MongoDB (or couchDB). Thus this feature request:

Please create a (simplified) DocumentType field that allow to fetch its data from a MongoDB (or CouchDB) Document.

Thank you for your work.

IonBazan commented 2 years ago

There is already a DocumentType form type: https://www.doctrine-project.org/projects/doctrine-mongodb-bundle/en/current/form_validation.html#documenttype

landure commented 2 years ago

Ok thank you, my bad.