feat: integrate PersonalMilestoneModule into GraphQL module and update its configuration

- Added PersonalMilestoneModule to the GraphQL module imports, enhancing the overall functionality and data management.
- Updated PersonalMilestoneModule to use providers and exports for PersonalMilestoneSchema, improving module encapsulation and reusability.
This commit is contained in:
2024-12-07 18:21:02 +07:00
parent bb88d6ed00
commit ae537d40f6
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ import { Module } from '@nestjs/common'
import { PersonalMilestoneSchema } from './personalmilestone.schema'
@Module({
imports: [PersonalMilestoneSchema],
providers: [PersonalMilestoneSchema],
exports: [PersonalMilestoneSchema],
})
export class PersonalMilestoneModule {}