Closed franmomu closed 8 months ago
Follow-up of https://github.com/doctrine/DoctrineMongoDBBundle/pull/793
While removing annotation mapping support in https://github.com/doctrine/DoctrineMongoDBBundle/pull/793, I've notice that these services are not necessary.
So mapping drivers are registered in AbstractDoctrineExtension::registerMappingDrivers().
AbstractDoctrineExtension::registerMappingDrivers()
For example for attribute it executes this code which in our case uses doctrine_mongodb.odm.metadata.attribute.class to create the AttributeDriver service.
attribute
doctrine_mongodb.odm.metadata.attribute.class
Follow-up of https://github.com/doctrine/DoctrineMongoDBBundle/pull/793
While removing annotation mapping support in https://github.com/doctrine/DoctrineMongoDBBundle/pull/793, I've notice that these services are not necessary.
So mapping drivers are registered in
AbstractDoctrineExtension::registerMappingDrivers()
.For example for
attribute
it executes this code which in our case usesdoctrine_mongodb.odm.metadata.attribute.class
to create the AttributeDriver service.