mean-expert-official / loopback-sdk-builder

Tool for auto-generating Software Development Kits (SDKs) for LoopBack
Other
399 stars 178 forks source link

Deprecation Warning #615

Open PhilippeCorreges opened 5 years ago

PhilippeCorreges commented 5 years ago

What type of issue are you creating?

What version of this module are you using?

Write other if any:

Please add a description for your issue:

Hello, I am using PatchOrCreate method like this.souscriptionApi.patchOrCreate(this.subscr).subscribe(); where this.subscr is an object of subscription type.

When inserting the row (insertion is ok in the database), I am getting this message : (node:13177) DeprecationWarning: collection.insert is deprecated. Use insertOne, insertMany or bulkWrite instead.

Issue seems to be known: https://github.com/strongloop/loopback-connector-mongodb/issues/455