erikc5000 / nest-mongodb

MongoDB driver module for NestJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support to request scoped connections

AliYusuf95 opened this issue · comments

I'd like to open a connection on every HTTP requests based on request parameters and at the same time reuse the same connection pool that I have opened previously for future requests.

The main issue nestjs/mongoose#65

I did a simple implementation, please check it out

@erikc5000 Are you implemented request scoped connection?

@AliYusuf95 Your simple implementation not working for me.
Can you please check ?