nestjs-typegoose
Advanced tools
Changelog
[6.0.0] - 2019-09-29
nestjs-typegoose
uses @hasezoey/typegoose
as a peer dependency instead of typegoose
now.Changelog
[5.2.0] - 2019-06-06
forFeature
. For example:
Before:@Module({
imports: [TypegooseModule.forFeature(Cat, OtherModel)],
controllers: [CatsController],
providers: [CatsService]
})
export class CatsModule {}
After:
@Module({
imports: [TypegooseModule.forFeature([Cat, OtherModel])],
controllers: [CatsController],
providers: [CatsService]
})
export class CatsModule {}
TypegooseModule
will disconnect from the monodb server on module destruction.