Topic: HttpClient support in Angular MDBootstrap

Tobias premium asked 6 years ago


Angular has released a new and improved HttpClient in @angular/common version 4.3.*, but since MDBootstrap references Http from @angular/http in many places, we cannot remove it as a dependency. Is there plans to support HttpClient in the future? ERROR in <path>/src/app/typescripts/angular-bootstrap-md/pro/autocomplete/services/remoteDataService.ts (1,57): Cannot find module '@angular/http'. ERROR in <path>/src/app/typescripts/angular-bootstrap-md/pro/autocomplete/services/dataFactoryService.ts (1,20): Cannot find module '@angular/http'. ERROR in <path>/src/app/typescripts/angular-bootstrap-md/pro/autocomplete/completerModule.ts (3,28): Cannot find module '@angular/http'. ERROR in <path>/src/app/angular-bootstrap-md/pro/autocomplete/services/remoteDataService.d.ts (1,47): Cannot find module '@angular/http'. ERROR in <path>/src/app/angular-bootstrap-md/pro/autocomplete/services/dataFactoryService.d.ts (1,22): Cannot find module '@angular/http'. ERROR in <path>/src/app/typescripts/angular-bootstrap-md/free/autocomplete/services/remoteDataService.ts (1,57): Cannot find module '@angular/http'. ERROR in <path>/src/app/typescripts/angular-bootstrap-md/free/autocomplete/services/dataFactoryService.ts (1,20): Cannot find module '@angular/http'. ERROR in <path>/src/app/typescripts/angular-bootstrap-md/free/autocomplete/completerModule.ts (3,28): Cannot find module '@angular/http'.

Adrian Sawicki free answered 6 years ago


We're trying to go with angular updates. However, first we want to fix issues with actual version and then we will move to another update, so I think I can answer - Yes, we have plans for it in the future.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags