Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Force clients to wait for DB connection before using services #69

Closed
eddyystop opened this issue Oct 4, 2018 · 1 comment
Closed

Force clients to wait for DB connection before using services #69

eddyystop opened this issue Oct 4, 2018 · 1 comment

Comments

@eddyystop
Copy link
Member

eddyystop commented Oct 4, 2018

await app.get('mongoClient');
app.listen()
@eddyystop
Copy link
Member Author

Eli Sadaka [1:21 PM]
Alright. Is there a reason why always waiting for the MongoDB client isn't the default behaviour?

daffl [1:23 PM]
Yes, it’s because feathersjs/feathers#509 (comment) hasn’t been implemented yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants