l5-repository icon indicating copy to clipboard operation
l5-repository copied to clipboard

Pluck issue in loops

Open albertovincenzi opened this issue 4 years ago • 0 comments

We found out that there is an issue with pluck method when used in loops: after pluck result is returned, I think you should resetModel and resetScope as you already did with get().

If you don't resetModel and resetScope, in a loop that use the same repository multiple times, you will have also previous applied criterias which are not resetted using resetCriteria.

albertovincenzi avatar Oct 17 '20 17:10 albertovincenzi