Closed wizardnet972 closed 3 years ago
How to import ui component without breaking ddd rules?
I have libs/reports/ui-grid and I want to import it in libs/dashboard/feature-shell.
libs/reports/ui-grid
libs/dashboard/feature-shell
This library contains a list of cards display list of reports details (the data come from report service inside the domain).
--
How should I do it without breaking the ddd rules?
ui-grid
dashabord/feature-shell
libs/shared
libs/report/api
Both is fine. Just beware of having a shared folder that grows too big.
How to import ui component without breaking ddd rules?
I have
libs/reports/ui-grid
and I want to import it inlibs/dashboard/feature-shell
.This library contains a list of cards display list of reports details (the data come from report service inside the domain).
--
How should I do it without breaking the ddd rules?
ui-grid
and import it indashabord/feature-shell
?libs/shared
and import the shared indashabord/feature-shell
and get the data fromlibs/report/api
?libs/report/api
and import it indashabord/feature-shell
?