Browse Source

.reset() method fix

Leszek Wiesner 4 years ago
parent
commit
062fc944bb
1 changed files with 5 additions and 0 deletions
  1. 5 0
      content-directory-schemas/src/helpers/InputParser.ts

+ 5 - 0
content-directory-schemas/src/helpers/InputParser.ts

@@ -310,10 +310,15 @@ export class InputParser {
 
   private reset() {
     this.entityIndexByUniqueQueryMap = new Map<string, number>()
+    this.entityIdByUniqueQueryMapInitialized = false
+
     this.classIdByNameMap = new Map<string, number>()
+    this.classMapInitialized = false
+
     this.createEntityOperations = []
     this.addSchemaToEntityOprations = []
     this.updateEntityPropertyValuesOperations = []
+
     this.entityByUniqueQueryCurrentIndex = 0
   }