Skip to content

Commit

Permalink
fix(core): Allow middleware to inject TransactionalConnection
Browse files Browse the repository at this point in the history
Fixes #1160
  • Loading branch information
michaelbromley committed Oct 19, 2021
1 parent bfc72f2 commit 28f713c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Middleware, MiddlewareHandler } from './common';
import { ConfigModule } from './config/config.module';
import { ConfigService } from './config/config.service';
import { Logger } from './config/logger/vendure-logger';
import { ConnectionModule } from './connection/connection.module';
import { HealthCheckModule } from './health-check/health-check.module';
import { I18nModule } from './i18n/i18n.module';
import { I18nService } from './i18n/i18n.service';
Expand All @@ -21,6 +22,7 @@ import { ServiceModule } from './service/service.module';
PluginModule.forRoot(),
HealthCheckModule,
ServiceModule,
ConnectionModule,
],
})
export class AppModule implements NestModule, OnApplicationShutdown {
Expand Down

0 comments on commit 28f713c

Please sign in to comment.