@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
- return list.entityType;
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(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koalarx/nest",
3
- "version": "3.1.33",
3
+ "version": "3.1.34",
4
4
  "description": "",
5
5
  "author": "Igor D. Rangel",
6
6
  "license": "MIT",