automapper icon indicating copy to clipboard operation
automapper copied to clipboard

fix(bundle): use map_private_properties when configuring ReflectionExtractor

Open nikophil opened this issue 1 month ago • 0 comments

configuration map_private_properties was not used to configure service automapper.property_info.reflection_extractor whereas without the bundle, \AutoMapper\Configuration::$mapPrivateProperties is actually used, this PR fixes this.

I had to introduce a way to have several configurations available for the fixture bundle, I'm using KernelTestCase::createKernel() + an additional config file path for this.

waiting for https://github.com/jolicode/automapper/pull/137

nikophil avatar May 14 '24 06:05 nikophil