Open
Description
I would like to hydrate with DQL query an object with another object argument in the constructor. For example Money:
https://github.com/moneyphp/money/blob/master/src/Money.php#L57
So it should look sth like NEW Money\Money(object.amount NEW Money\Currency(object.currency))
. It does not work. Are any chances to do it with doctrine?