sonata-project / exporter

Lightweight Exporter library
https://docs.sonata-project.org/projects/exporter
MIT License
438 stars 88 forks source link

Compatibility Doctrine/ORM 2.7 #645

Closed lebacql closed 1 year ago

lebacql commented 1 year ago

image

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()

VincentLanglet commented 1 year ago

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