gothinkster / gothinkster/node-express-realworld-example-app
deprecated push method
Open
- Dominant language
- TypeScript
- Stars
- 3.8k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.