@koalarx/nest 3.1.33 → 3.1.34
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.
|
@@ -325,7 +325,10 @@ class RepositoryBase {
|
|
|
325
325
|
getSourceByName: (sourceName) => auto_mapping_list_1.AutoMappingList.getSourceByName(sourceName),
|
|
326
326
|
getListEntityType: (sourceEntity, propName) => {
|
|
327
327
|
const list = new sourceEntity()[propName];
|
|
328
|
-
|
|
328
|
+
if (list instanceof list_1.List) {
|
|
329
|
+
return list.entityType;
|
|
330
|
+
}
|
|
331
|
+
return null;
|
|
329
332
|
},
|
|
330
333
|
getIdOnEntity: (currentEntity, value) => this.getIdOnEntity(currentEntity, value),
|
|
331
334
|
createEntity: (sourceEntity) => new sourceEntity(),
|