File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
packages/concerto-core/lib Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ class BaseModelManager {
103
103
this . strict = ! ! options ?. strict ;
104
104
this . options = options ;
105
105
this . addRootModel ( ) ;
106
- this . decorators = undefined ;
107
106
this . decoratorValidation = options ?. decoratorValidation ? options ?. decoratorValidation : DEFAULT_DECORATOR_VALIDATION ;
108
107
109
108
// TODO Remove on release of MapType
@@ -356,7 +355,6 @@ class BaseModelManager {
356
355
if ( ! this . modelFiles [ namespace ] ) {
357
356
throw new Error ( 'Model file does not exist' ) ;
358
357
} else {
359
- this . decorators = undefined ;
360
358
delete this . modelFiles [ namespace ] ;
361
359
}
362
360
}
@@ -420,8 +418,6 @@ class BaseModelManager {
420
418
* Validates all models files in this model manager
421
419
*/
422
420
validateModelFiles ( ) {
423
- // clear the decorators, because the model files may have changed
424
- this . decorators = undefined ;
425
421
for ( let ns in this . modelFiles ) {
426
422
this . modelFiles [ ns ] . validate ( ) ;
427
423
}
You can’t perform that action at this time.
0 commit comments