angular-5-data-table
angular-5-data-table copied to clipboard
dependency issue while compiling
I got the below warning while I run the "ng serve": WARNING in Circular dependency detected: src/app/data-table/components/row.ts -> src/app/data-table/components/table.ts -> src/app/data-table/components/row.ts
WARNING in Circular dependency detected: src/app/data-table/components/table.ts -> src/app/data-table/components/row.ts -> src/app/data-table/components/table.ts
Update your angular-cli.json ,set "showCircularDependencies": false "defaults": { "styleExt": "css", "component": {}, "build": { "preserveSymlinks": true, "showCircularDependencies": false } }
Turning off the setting showCircularDependencies
can't be a viable solution.
I don't understand why @Inject(forwardRef(() => DataTable)) public dataTable: DataTable
in row.ts is not sufficient to prevent circular dependency warning though.
i got the same WARNING how we can fix it
how do i fix this circular dependency ? any solutions ?
I have changed to use ag grid