File tree 2 files changed +0
-4
lines changed
src/lib/generated/classes
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ export class Workflow extends ObjectHydrator<Specification.Workflow> {
94
94
95
95
static deserialize ( text : string ) : WorkflowIntersection {
96
96
const model = yaml . load ( text ) as Partial < Specification . Workflow > ;
97
- getLifecycleHooks ( 'Workflow' ) ?. preValidation ?.( model ) ;
98
97
validate ( 'Workflow' , model ) ;
99
- getLifecycleHooks ( 'Workflow' ) ?. postValidation ?.( model ) ;
100
98
return new Workflow ( model ) as WorkflowIntersection ;
101
99
}
102
100
Original file line number Diff line number Diff line change @@ -108,9 +108,7 @@ export class ${name} extends ${baseClass ? '_' + baseClass : `ObjectHydrator<Spe
108
108
? `
109
109
static deserialize(text: string): WorkflowIntersection {
110
110
const model = yaml.load(text) as Partial<Specification.Workflow>;
111
- getLifecycleHooks('Workflow')?.preValidation?.(model);
112
111
validate('Workflow', model);
113
- getLifecycleHooks('Workflow')?.postValidation?.(model);
114
112
return new Workflow(model) as WorkflowIntersection;
115
113
}
116
114
You can’t perform that action at this time.
0 commit comments