8000 Allow option to pass actual ObjectManager instance to EntityType · Issue #11859 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Allow option to pass actual ObjectManager instance to EntityType #11859
Closed
@malarzm

Description

@malarzm

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0