Cannot use with new version of RxJS (7.8.0 vs 5.5.12, for new Angular projects)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular, typescript
Research direction
Start by reviewing how botframework-directlinejs 0.15.5 declares RxJS and how the activity$ entry point is typed. Reproduce the Angular project example with RxJS 7.8.0 and the map operator, then determine whether the dependency declaration or the RxJS compatibility needs changing. Done means the library can be used with the newer RxJS types without manual subscriptions.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 199
- Forks
- 133
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/BotFramework-DirectLineJS
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
microsoft/BotFramework-DirectLineJS#432 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/BotFramework-DirectLineJS#424 · 3 comments ·
-
bug
microsoft/BotFramework-DirectLineJS#421 · 3 comments · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
microsoft/BotFramework-DirectLineJS#418 · 7 comments · 7 reactions ·
All issues in microsoft/BotFramework-DirectLineJS
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·