mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #5628] Make ClassMetadataFactory more configurable #9673
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/5628
State: closed
Merged: No
It looks reasonable to make the
ClassMetadataFactorymore configurable to avoid such tricks as I've implemented at Atlantic18/DoctrineExtensions#1512 for example.In the past there was no reason for this changes as well as this tricks. But
8bdb713073changed things.Also there are improvements to be made before this code can be merged.
\Exceptionis to general and non-informative.$metadataClassmust be configurable throughdoctrine.orm.entity_managerslikedoctrine.orm.entity_managers.default.class_metadata_factory_nameSuggestions and reviews are welcome!