Closed sinedied closed 4 years ago
:tada: This PR is included in version 8.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hello @sinedied,
I have been using this solution, but recently I have encountered a conflict with the MatIconRegistry module. This module internally uses httpClient to retrieve SVG.
Could you tell me which third-party solutions you have tried, which one best suits the use case that covered this functionality, and where can I find documentation to integrate it? Thank
Hi @charlypeluch, I'm not sure I understand what your issue is here?
What what removed was an extension of the build-in HttpClient
module, but the original HttpClient
module can still be used. If it's the extension causing issue, it's most likely caused by the ApiInterceptor
adding the extension prefix: in that case, have a look at the file https://github.com/ngx-rocket/generator-ngx-rocket/blob/e9d2fd536d9b4e2768d7c3cecf6069981f83d89d/generators/app/templates/src/app/core/http/api-prefix.interceptor.ts to avoid adding the API prefix when retrieving SVG icons.
BREAKING CHANGE: Removing HttpClient overload as this is definitely not something the Angular team is looking to support. Also it's not relevant and useful anymore thanks to state management libraries, that's why CacheService is also removed.