Closed jifer closed 6 months ago
You need to adjust xsd schema too
Thank you. I see I missed few things, including DI test. That's my first try here so apologies if I did something wrong.
@ostrolucky I'm not sure if there is something more I should update? Thank you in advance.
This PR add
typed_field_mapper
option allowing to override or set custom TypedFieldMapper as described in ORM documentation. This option allows auto detection of doctrine types based on PHP typed properties.https://www.doctrine-project.org/projects/doctrine-orm/en/3.1/reference/typedfieldmapper.html
\Doctrine\ORM\Configuration::getTypedFieldMapper()
returnnull
as default and\Doctrine\ORM\Mapping\ClassMetadataInfo
instance is created by providingnull
orTypedFieldMapper
. Ifnull
\Doctrine\ORM\Mapping\DefaultTypedFieldMapper
is created. This why i set it as default undertyped_field_mapper
option.