Open johncardozo opened 2 years ago
Deleting following lines from index.js is enough. These options are deprecated and now are true by default.
mongoose.set("useCreateIndex", true); mongoose.set("useNewUrlParser", true);
When will the package be updated? so we won't have manually delete the 2 lines every installation?
+1 When will the package be updated?
+1 When will the package be updated?
+1
+1
@seanemmer
+1
When I try to execute the seeder it shows the error message:
The option
UseCreateIndex
is deprecated in Mongodb. Is there any way to connect to database with an options object instead of just aConnectionString
? I'm trying to execute: