pharo-nosql / voyage

Voyage is an object persistence abstraction layer for Pharo.
MIT License
33 stars 21 forks source link

Select many with sort block fails #167

Closed jvalteren closed 3 years ago

jvalteren commented 3 years ago

Using method #selectMany:where:sortBy: fails with message 'Instance of VOMongoRepository did not understand #isMeta'.

Implementation of method in VOExternalRepository is:

selectMany: aClass where: aBlock sortBy: sortBlock
    ^ self selectManyOperation
        queryClass: self;
        where: aBlock;
        sortBlock: sortBlock;
        execute

As can be seen, the argument that is passed to the queryClass keyword is self instead of aClass.

jvalteren commented 3 years ago

Thanks!