ng2-adsk-forge-viewer
ng2-adsk-forge-viewer copied to clipboard
Remove HttpClientModule from ViewerModule imports
Is your feature request related to a problem? Please describe. Due to the HttpClientModule import in the ViewerModule, app lazy-loaded modules that include ViewerModule get a different instance of HttpClient Service. This leads to a change of the global HttpInterceptor Service behavior, etc.
Describe the solution you'd like Remove HttpClientModule from ViewerModule imports and require importing HttpClientModule manually in the root application module (AppModule).
Additional context
Made a patch with patch-package
lib and successfully fixed the issue in the existing app with Viewer.