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
Fails when using TypeOrmHealthIndicator with TypeOrmModule configuration for an type: 'oracle' connection. The issue is due to the invalid SELECT 1query used as the ping.
Expected behavior
The proper statement for type: 'oracle' should be SELECT 1 FROM DUAL
Minimal reproduction of the problem with instructions
Thanks a lot for reporting! Seems to be a valid issue. Would you like to create a PR? You could easily add this to the existing TypeOrmHealthIndicator#pingDb function.
sure @BrunnerLivio, I can definitely open the PR... I'd actually solved in a workaround by extending the class for now, but I can refactor the method and let y'all review 😉
I'm submitting a...
Current behavior
Fails when using
TypeOrmHealthIndicator
withTypeOrmModule
configuration for antype: 'oracle'
connection. The issue is due to the invalidSELECT 1
query used as the ping.Expected behavior
The proper statement for
type: 'oracle'
should beSELECT 1 FROM DUAL
Minimal reproduction of the problem with instructions
type: 'oracle'
/health
and see503
withstatus: 'down'
and no messageWhat is the motivation / use case for changing the behavior?
Make TypeORM health indicator function for all supported connection types
Environment
The text was updated successfully, but these errors were encountered: