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.
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-packagelib and successfully fixed the issue in the existing app with Viewer.