rez_core 6.5.70 → 6.5.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "6.5.70",
3
+ "version": "6.5.71",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -67,7 +67,7 @@ export class PopulateMetaService {
67
67
 
68
68
  const factoryData = await transformRepo?.find({
69
69
  where: {
70
- organization_id: -1,
70
+ enterprise_id: -1,
71
71
  level_type: 'ORG',
72
72
  level_id: -1,
73
73
  },
@@ -82,6 +82,7 @@ import { AppMasterModule } from '../app_master/app-master.module';
82
82
  providers: [
83
83
  EntityMasterService,
84
84
  EntityServiceImpl,
85
+ {provide: 'EntityDynamicService', useClass: EntityDynamicService},
85
86
  EntityDynamicService,
86
87
  { provide: 'CommonService', useClass: CommonService },
87
88
  AttributeMasterRepository,
@@ -129,7 +130,7 @@ import { AppMasterModule } from '../app_master/app-master.module';
129
130
  AttributeMasterService,
130
131
  MasterService,
131
132
  ResolverService,
132
- EntityDynamicService,
133
+ 'EntityDynamicService',
133
134
  'CommonService',
134
135
  'EntityRelationService',
135
136
  ],
@@ -1,4 +1,4 @@
1
- import { Injectable } from '@nestjs/common';
1
+ import { Inject, Injectable } from '@nestjs/common';
2
2
  import { InjectRepository } from '@nestjs/typeorm';
3
3
  import { TaskDataEntity } from '../entity/task-data.entity';
4
4
  import { EntityManager, Repository } from 'typeorm';
@@ -12,6 +12,7 @@ export class TaskRepository {
12
12
  constructor(
13
13
  @InjectRepository(TaskDataEntity)
14
14
  private readonly taskRepository: Repository<TaskDataEntity>,
15
+ @Inject('EntityDynamicService')
15
16
  private readonly entityDynamicService: EntityDynamicService,
16
17
  private readonly reflectionHelper: ReflectionHelper,
17
18
  private readonly entityManager:EntityManager,