BioPhoton / BioPhoton/angular-HttpClient-upgrade
Preparing and upgrade of FlightService
未关闭
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
- [ ] 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
贡献指南
调研方向
首先定位现有的 FlightService 及其 HTTP 用法;该 issue 未指定任何文件或测试。按清单中的项目逐项处理,然后验证升级后的服务使用新的 HttpClient APIs、具有类型化的 requests,并且在不采用旧的映射行为的情况下处理错误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- api, frontend
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100