skeleton-mapper icon indicating copy to clipboard operation
skeleton-mapper copied to clipboard

Return iterable instead of array for findAll and findBy methods

Open l-vo opened this issue 6 years ago • 1 comments
trafficstars

What about using iterable type instead of array ? It will allow to return generators or custom result set implementations

l-vo avatar Feb 04 '19 21:02 l-vo

I think we will have to wait for doctrine/persistence 2.0 to do this since the Doctrine\SkeletonMapper\ObjectRepository\ObjectRepositoryInterface class implements Doctrine\Common\Persistence\ObjectRepository which returns an array.

jwage avatar Apr 15 '19 23:04 jwage