When the db connection name is specified via DI configuration (and therefore not a component of the app) the connection could not be found.
This pull requests fixes this by first checking the DI container similar to schmunk42\giiant\generators\model\Generator::getDbConnection().
When the db connection name is specified via DI configuration (and therefore not a component of the app) the connection could not be found. This pull requests fixes this by first checking the DI container similar to
schmunk42\giiant\generators\model\Generator::getDbConnection()
.