title: Mongoose 5.x disallows passing a spread of operators
body: <p>Aggregate query returns an error.</p>
  
  <p>'Mongoose 5.x disallows passing a spread of operators to <code>Model.aggregate()</code>. Instead of <code>Model.aggregate({ $match }, { $skip })</code>, do <code>Model.aggregate([{ $match }, { $skip }])</code>',</p>
  
  <p>I am using mongoose and MongoDb version like</p>
  
  <blockquote>
    <p>"mongoose": "^5.5.4",
    mongod version: 3.6.12</p>
  </blockquote>
  
  <p>Please suggest me I will be very Thankful to you.</p>