Closed lebacql closed 1 year ago
https://github.com/sonata-project/exporter/blob/c1aa20bcf556207734df521ce4a54925994760b6/src/Source/DoctrineORMQuerySourceIterator.php#L62
I solved my incompatibility problem by changing the method $this->query->toIterable() by $this->query->getResult()
$this->query->toIterable()
$this->query->getResult()
We're having a conflict with doctrine/orm <2.14 so you should not be able to use 2.7 https://github.com/sonata-project/exporter/blame/3.x/composer.json#L55
https://github.com/sonata-project/exporter/blob/c1aa20bcf556207734df521ce4a54925994760b6/src/Source/DoctrineORMQuerySourceIterator.php#L62
I solved my incompatibility problem by changing the method
$this->query->toIterable()
by$this->query->getResult()