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

Mongo/Mongoose Adapter #75

Open
flaviocordova opened this issue Jan 11, 2019 · 1 comment
Open

Mongo/Mongoose Adapter #75

flaviocordova opened this issue Jan 11, 2019 · 1 comment

Comments

@flaviocordova
Copy link

It'd be really nice if I could create Mongo/Mongoose Adapters using a connection object instead of a connection string.

I want to create some mocha tests and today I have to keep a database running (in memory or full) to be able to connect to it.
By being able to initialise mongoose adapter using a connection, I could use mongoose-mock or some other mock api.

@icebob
Copy link
Member

icebob commented Jan 11, 2019

Good idea, could you create a PR?

E.g. you can check that the uri is a connection object

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

No branches or pull requests

2 participants