Aggregation in Meteor 1.7.1


#1

I’ve just updated to Meteor 1.7.1 and all my aggregations in my project are failing, instead of returning an array it is returning a cursor. I was using meteorhacks:aggregate , it now works with sakulstra:aggregate so If you are having the same problem as me , migrate


#2

Thanks for pointing that out @ozcoro . We recently moved to 1.7 but never checked the reports section was working, which is I’ve just seen has been broken by this change too :persevere:


#3

Take a look at this issue on Github:

This may be a fix for you. Adding .toArray() at the end.