fix(contribution): use Symbol token for SYNCED_DATA_REPOSITORY injection
The GetTeamTreeQuery was importing SYNCED_DATA_REPOSITORY as a Symbol from the domain interface, but InfrastructureModule defined its own string token. This caused NestJS dependency resolution to fail. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
c84341be37
commit
0ebb0ad076
|
|
@ -13,11 +13,11 @@ import { KafkaModule } from './kafka/kafka.module';
|
|||
import { KafkaProducerService } from './kafka/kafka-producer.service';
|
||||
import { CDCConsumerService } from './kafka/cdc-consumer.service';
|
||||
import { RedisModule } from './redis/redis.module';
|
||||
import { SYNCED_DATA_REPOSITORY } from '../domain/repositories/synced-data.repository.interface';
|
||||
|
||||
// Repository injection tokens
|
||||
export const CONTRIBUTION_ACCOUNT_REPOSITORY = 'CONTRIBUTION_ACCOUNT_REPOSITORY';
|
||||
export const CONTRIBUTION_RECORD_REPOSITORY = 'CONTRIBUTION_RECORD_REPOSITORY';
|
||||
export const SYNCED_DATA_REPOSITORY = 'SYNCED_DATA_REPOSITORY';
|
||||
|
||||
@Module({
|
||||
imports: [PrismaModule, KafkaModule, RedisModule],
|
||||
|
|
|
|||
Loading…
Reference in New Issue