Andrei Alecu
Andrei Alecu
> npm doesn't install peer dependencies by default AFAIK, which makes making mongodb a peer dep likely a non-starter. It does since 2020: https://github.blog/news-insights/product-news/presenting-v7-0-0-of-the-npm-cli/ This has been actually quite controversial....
The test case I shared in my initial post was 100% reproducible to me. You weren't able to reproduce it? It's possible it could be related to latency to Atlas...
I was only able to reproduce it with certain mongodb driver versions, and it was consistent. In our production app, pinning to the driver version I mentioned resolved the issue.
Indeed, it's unclear to me why this happens. I have seen it while working on #483 If anyone has some time to look into it, please update here. I suspect...
This may be fixed by #483 which is available as v9.0.0-rc.0
Released to npm as v9.0.0-rc.0 for testing
This should be fixed by #483