mongoose-aggregate-paginate-v2
                                
                                 mongoose-aggregate-paginate-v2 copied to clipboard
                                
                                    mongoose-aggregate-paginate-v2 copied to clipboard
                            
                            
                            
                        Please implemet lean option
Hi request you to enable "lean" option for aggregation
@keystroke99 Aggregate output already 'lean'ed. I'm not sure if that can be send as Mongoose objects.
Hey @aravindnc not sure if I should post this here but it's related to leaning as well. So in the other package (mongoose-paginate-v2), we can call something like this lean: { virtuals: true, autopopulate: true } to include the virtuals which are defined in the model schema and populate fields. The autopopulate works well but the virtuals are not included, any idea how I can achieve this? Thanks!
I'm also missing virtualsm like "id" instead of "_id".
Hey @aravindnc not sure if I should post this here but it's related to leaning as well. So in the other package (mongoose-paginate-v2), we can call something like this
lean: { virtuals: true, autopopulate: true }to include the virtuals which are defined in the model schema and populate fields. Theautopopulateworks well but the virtuals are not included, any idea how I can achieve this? Thanks!
This is the same functionality I am looking for
I'm also missing virtualsm like "id" instead of "_id".
this is frustrating not to have