BioPhoton / BioPhoton/angular-HttpClient-upgrade

Preparing and upgrade of FlightService

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- [ ] Create interface for FlightService methods
- [ ] Create UpgradedFlightService and implement the interface
- [ ] Implement a useClass operator for the FlightService and provider the new service
- [ ] Change URLSearchParams to HttpParams
- [ ] Remove map to json
- [ ] Apply types to the new HttpClient methods
- [ ] Handle Errors

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing FlightService and its HTTP usage; the issue names no files or tests. Work through the checklist items, then verify that the upgraded service uses the new HttpClient APIs, has typed requests, and handles errors without the old mapping behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
api, frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.