Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves Mongodb Connection #53

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jidemobell
Copy link

@jidemobell jidemobell commented Mar 17, 2021

What does this PR do?

  • update mongo connect with options in lib/seed.js
  • update mongodb version

@@ -35,14 +35,14 @@
"dependencies": {
"commander": "^2.15.1",
"errno": "^0.1.7",
"json2mongo": "^2.0.0",
"json2mongo": "^0.1.2",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you downgrade the allowed version of json2mongo?

Comment on lines +173 to +176
mongo.connect(connectionString, {
useUnifiedTopology: true,
useNewUrlParser: true
}, (err, client) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you link to the docs for these? You've added them as hard coded values and no options to change them. Someone might not want these values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants