Feature Request
| Q |
A |
| New Feature |
yes |
| RFC |
yes |
| BC Break |
yes |
Summary
In order to have distinct types per DocumentManager instance, the static methods of the Type class must move to a TypeRegistry service class. This design is inspired by the Doctrine\DBAL\Types\TypeRegistry class.
A similar change has been discussed in doctrine/dbal#6705 (review)
Feature Request
Summary
In order to have distinct types per DocumentManager instance, the static methods of the
Typeclass must move to aTypeRegistryservice class. This design is inspired by theDoctrine\DBAL\Types\TypeRegistryclass.TypeRegistryTypeRegistryinstance everywhere the static method of theTypeclass are usedTypepublic and non-final to allow injecting dependencies or configuration into the type instancesA similar change has been discussed in doctrine/dbal#6705 (review)