I need access to sharedModule=>random.component inside coreModule... Currently, I get circular dependency errors. Should I keep trying to do this or is it inherently wrong?
here is my current app structure
app.module.ts
-> Imports: core.module.ts
core.module.ts
-> Imports: shared.module.ts (i think this is causing circular dependency
shared.module.ts
it is imported by whatever feature module needs
app.module.ts also imports it
core is importing it because it holds my log.service.ts
can predict there will be other things needed in core from shared
shared.module.ts ===> log.service.ts
- this is in shared because it's not expected to be a singleton
- Tried removing the share import in core and simply importing log.service in the core component but now core won't
if it's wrong for core to imports shared. How can core gain access to things in shared
import { GlobalService } from 'meteorite-core';... no mention of core was made in shared.module