You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
TypeOrmHealthIndicator always returns positive result, whether it is connected to MongoDB, or not.
I'm submitting a...
Current behavior
TypeOrmHealthIndicator always returns positive result, whether it is connected to MongoDB, or not.
options passed:
health result:
Expected behavior
It should return error if there is no connection to the MongoDB.
Minimal reproduction of the problem with instructions
I prepared basic example here:
https://github.com/jacob87o2/nest/tree/terminus-typeorm-health-issue-reproduction/sample/13-mongo-typeorm
After downloading/cloning the repo, go to the folder above and:
npm install
)docker-compose up -d
)nest start
)docker-compose down
)http://localhost:3000/health
)What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: