Cannot use with new version of RxJS (7.8.0 vs 5.5.12, for new Angular projects)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- angular, typescript
调研方向
首先检查 botframework-directlinejs 0.15.5 如何声明 RxJS,以及 activity$ 入口点的类型定义方式。使用 RxJS 7.8.0 和 map 运算符复现 Angular 项目示例,然后确定是否需要修改依赖声明或 RxJS 兼容性。当该库能够在不进行手动订阅的情况下使用更新的 RxJS 类型时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
When trying to use this library you cannot use new RxJS operators, even simple ones like map.
Because the type of Observable does not match.
This forces many manual subscribes that could have been pipeline operators.
Minimal snippet (on new angular project with RxJS 7.8.0 and botframework-directlinejs 0.15.5):
return this.directLine.activity$.filter(x => x.type === 'message').pipe(map((x: Message): string => ''));
Possible solutions including making RxJS a peer dependency or upgrading it to a new version.
- 主要语言
- TypeScript
- 星标
- 199
- 派生
- 133
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/BotFramework-DirectLineJS 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 30/100
microsoft/BotFramework-DirectLineJS#432 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
microsoft/BotFramework-DirectLineJS#424 · 3 条评论 ·
-
bug
microsoft/BotFramework-DirectLineJS#421 · 3 条评论 · 已指派 1 人 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
microsoft/BotFramework-DirectLineJS#418 · 7 条评论 · 7 个 reaction ·
查看 microsoft/BotFramework-DirectLineJS 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
area:tools bug good first issue help wanted priority:P2
难度 2/5 1-3 小时 新手友好度 90/100
TaewoooPark/Motifcode#14 ·
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
newrelic-experimental/preflight#793 · 1 条评论 ·
-
bug 🐞
难度 2/5 1-3 小时 新手友好度 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
BasedHardware/omi#15320 ·