Closed
Description
Right now developer can pass only null
or string
to em
option which makes using EntityManager created at runtime impossible. Reason is that normalizer tries to get EntityManager from Registry where services are passed at construct time and can't be added later.
Cross referencing original issue doctrine/DoctrineMongoDBBundle#268 and PR doctrine/DoctrineMongoDBBundle#269
/cc @jmikola