Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: removed deprecated call pattern with resultSelector #7156

Merged

Conversation

demensky
Copy link
Contributor

Description: see individual commits.

BREAKING CHANGE: All deprecated call pattern with resultSelector is no longer available. Read more.
Related issue (if exists): #6367

demensky and others added 10 commits January 19, 2023 20:32
…elector) call pattern

BREAKING CHANGE: `concatMapTo(observable, resultSelector)` call pattern is no longer available. [Read more](https://rxjs.dev/deprecations/resultSelector).
…) call pattern

BREAKING CHANGE: `concatMap(project, resultSelector)` call pattern is no longer available. [Read more](https://rxjs.dev/deprecations/resultSelector).
…ector) call pattern

BREAKING CHANGE: `mergeMapTo(observable, resultSelector)` call pattern is no longer available. [Read more](https://rxjs.dev/deprecations/resultSelector).
…or) call pattern

BREAKING CHANGE: `exhaustMap(project, resultSelector)` call pattern is no longer available. [Read more](https://rxjs.dev/deprecations/resultSelector).
…call pattern

BREAKING CHANGE: `mergeMap(project, resultSelector)` call pattern is no longer available. [Read more](https://rxjs.dev/deprecations/resultSelector).
…elector) call pattern

BREAKING CHANGE: `switchMapTo(observable, resultSelector)` call pattern is no longer available. [Read more](https://rxjs.dev/deprecations/resultSelector).
…) call pattern

BREAKING CHANGE: `switchMap(project, resultSelector)` call pattern is no longer available. [Read more](https://rxjs.dev/deprecations/resultSelector).
Copy link
Member

@benlesh benlesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. I had to fix a couple of things.

The biggest callout @demensky is that I changed switchScan to use a direct subscription, as tap is a little heavy-handed. It might be better if we at some point just made a switchInternals helper for the library like we did with mergeMap et al... or even just made switchMap based on switchScan... but I'll have to think about that. This is fine for now.

@benlesh benlesh merged commit 41b7e59 into ReactiveX:master Jan 20, 2023
@benlesh
Copy link
Member

benlesh commented Jan 20, 2023

Great work, @demensky, thank you for saving me the time here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants