Skip to content

TypeOrmHealthIndicator pingCheck is not working for mongo #222

Closed
@vladimirhinic

Description

I'm submitting a...


[ ] 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 pingCheck is calling 'select 1' which will not work for Mongo.

Expected behavior

TypeOrmHealthIndicator pingCheck should work for mongo

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Nest version: X.Y.Z

 6.2.0

For Tooling issues:
- Node version: XX  
- Platform:  

Others:

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions