#Is there a way to handle connection failure gracefully?

4 messages · Page 1 of 1 (latest)

carmine creek
#

I want to be able to run the app even if connection to the database wasn't successful, is that possible? If so how can you do it?

median geyser
#

You'll need to create your own module for that. Nest's @nestjs/typeorm or @nestjs/sequelize do not support that

median geyser
#

Nest goes through how to create dynamic modules in the documentation. Along with that, you can look at the code for those two packages