senecajs / seneca-mongo-store

Node.js Seneca data storage plugin for MongoDB
MIT License
35 stars 43 forks source link

Allow users to pass their own Mongo instance to the mongo-store plugin #86

Open lilsweetcaligula opened 3 years ago

lilsweetcaligula commented 3 years ago

Currently it seems like the mongo-store plugin does not support passing your own Mongo instance to it. I was thinking it would be a potentially handy feature. Especially if you want to handle Mongo connection instantiation yourself.

rjrodger commented 3 years ago

Valid feature, but not urgent. We need to define how to do this in general for any store - a well defined option