Skip to content

Commit ba584ee

Browse files
committed
removes forRoot and updates CHANGELOG.md
1 parent 1c71d9d commit ba584ee

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
### **Features**
44

55
* Migration to Angular 16
6+
* NG Dynamic Forms now exposes standalone components
67

78
### **Breaking Changes**
89

9-
* NG Dynamic Forms now exposes standalone components only
10-
* Kendo UI package is no longer be supported
10+
* Kendo UI package is no longer supported
1111

1212
***
1313

Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
import { CommonModule } from "@angular/common";
2-
import { ModuleWithProviders, NgModule } from "@angular/core";
2+
import { NgModule } from "@angular/core";
33
import { ReactiveFormsModule } from "@angular/forms";
44
import { DynamicListDirective } from "./directive/dynamic-list.directive";
55
import { DynamicTemplateDirective } from "./directive/dynamic-template.directive";
6-
import { DynamicFormService } from "./service/dynamic-form.service";
7-
import { DynamicFormLayoutService } from "./service/dynamic-form-layout.service";
8-
import { DynamicFormValidationService } from "./service/dynamic-form-validation.service";
9-
import { DynamicFormComponentService } from "./service/dynamic-form-component.service";
10-
import { DynamicFormRelationService } from "./service/dynamic-form-relation.service";
116

127
@NgModule({
138
imports: [
@@ -22,18 +17,4 @@ import { DynamicFormRelationService } from "./service/dynamic-form-relation.serv
2217
]
2318
})
2419
export class DynamicFormsCoreModule {
25-
/*@deprecated*/
26-
static forRoot(): ModuleWithProviders<DynamicFormsCoreModule> {
27-
28-
return {
29-
ngModule: DynamicFormsCoreModule,
30-
providers: [
31-
DynamicFormService,
32-
DynamicFormLayoutService,
33-
DynamicFormValidationService,
34-
DynamicFormComponentService,
35-
DynamicFormRelationService
36-
]
37-
};
38-
}
3920
}

0 commit comments

Comments
 (0)