native push method triggers mongoDB's $pushAll method. It's deprecated after MongoDB 3.6.2. Need to replace with concat method => `this.favorites = this.favorites.concat([id]);` https://github.com/gothinkster/node-express-realworld-example-app/blob/ba04b70c31af81ca7935096740a6e083563b3a4a/models/User.js#L63
native push method triggers mongoDB's $pushAll method. It's deprecated after MongoDB 3.6.2.
Need to replace with concat method =>
this.favorites = this.favorites.concat([id]);node-express-realworld-example-app/models/User.js
Line 63 in ba04b70