Automattic / Automattic/monk

New mongodb driver will connected failed

Open
#325 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
180
PR merge metrics
No merged PRs in 30d

Description

Code
```
const db = require('monk')('mongodb://127.0.0.1:27017/main');

db.then(() => {
console.log('Connected correctly to server');
}).catch(() => {
console.log('Connected failed');
});

```

mongodb driver 3.6.2
`Connected correctly to server`

mongodb driver 3.6.3
`Connected failed`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the supplied Monk connection snippet with MongoDB driver versions 3.6.2 and 3.6.3, then inspect Monk’s connection handling and existing entry points. Done means the version change is explained and the connection behavior is fixed or the supported driver compatibility is clearly recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mongodb
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.