mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ef665a40a5
This commit deprecates the `HttpClientModule` and other related http modules. Those can be replaced by provider function only. Angular is an opinionated framework, feature guidance will help developer choose the recommended way to enable feature (like Http requests here). Note: This is not an indication of deprecation for `NgModule`. The deprecated module's only purpose here was to define providers. This can be done directly by the provide function pattern. DEPRECATED: `HttpClientModule`, `HttpClientXsrfModule` and `HttpClientJsonpModule` As mentionned, those modules can be replaced by provider function only. PR Close #54020