All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Multiple database connections.
- BREAKING CHANGE: models are no long spread for
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.