doctrine / DoctrineModule

Doctrine Module for Laminas
http://www.doctrine-project.org/projects/doctrine-module.html
MIT License
398 stars 269 forks source link

Apply hydrator strategies before type conversion #646

Closed Erikvv closed 6 years ago

Erikvv commented 6 years ago

fixes #639

also:

Erikvv commented 6 years ago

I dunno if it's worth to add a separate test for byReference. I checked to see if it works just to be sure and it's ok.

TomHAnderson commented 6 years ago

Please review https://github.com/doctrine/DoctrineModule/pull/647 as it has a direct affect on the work you've done here.

We'll try to knock out all these hydrator issues as a group.

Erikvv commented 6 years ago

Please don't let one depend on the other. This breakage is not related to the implementation of handleTypeConversions, just the order in which it is called.

TomHAnderson commented 6 years ago

These PRs will not depend on each other. Because you're active with an eye on hydrators I'd like your opinion on the other one too.