Created
September 20, 2022 16:47
-
-
Save newerton/e81fbd0c93b471f5e5a061a160eb30c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Module } from '@nestjs/common'; | |
import { MongooseModule } from '@nestjs/mongoose'; | |
import { IDataServices } from '../../../core'; | |
import { MongoDataServices } from './mongo-data-services.service'; | |
@Module({ | |
providers: [ | |
{ | |
provide: IDataServices, | |
useClass: MongoDataServices, | |
}, | |
], | |
exports: [IDataServices], | |
}) | |
export class MongoDataServicesModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment