-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat: removed deprecated call pattern with resultSelector
#7156
Conversation
…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).
There was a problem hiding this 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.
Great work, @demensky, thank you for saving me the time here. |
Description: see individual commits.
BREAKING CHANGE: All deprecated call pattern with
resultSelector
is no longer available. Read more.Related issue (if exists): #6367