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

groupBy not using lift #1085

Closed
benlesh opened this issue Dec 16, 2015 · 3 comments
Closed

groupBy not using lift #1085

benlesh opened this issue Dec 16, 2015 · 3 comments
Labels
help wanted Issues we wouldn't mind assistance with.
Milestone

Comments

@benlesh
Copy link
Member

benlesh commented Dec 16, 2015

The current implementation of groupBy is no longer using lift. This actually muck with some other plans in the works for logging and debugging hooks.

GroupBy should be refactored to use lift.

If you look at it the GroupByObservable is really just a factory for a Subscriber. That's what we use Operator class for. I clearly didn't review this one very well when I merged it a long time ago. It seems that RefCountSubscription instance could be folded into the operator's subscriber as well.

@benlesh benlesh added the help wanted Issues we wouldn't mind assistance with. label Dec 16, 2015
@trxcllnt
Copy link
Member

@Blesh I noticed this too. I'm working through a fix for ConnectableObservable, but don't have time to update groupBy just yet.

@staltz
Copy link
Member

staltz commented Dec 16, 2015

I did that. At the time groupBy wasn't passing tests at all, so I just followed how RxJS 4 implemented it.

staltz added a commit to staltz/RxJSNext that referenced this issue Jan 4, 2016
Add test for groupBy() operator, to verify that it supports the composable lift architecture.

Test for issue ReactiveX#1085.
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 4, 2016
Fix bug ReactiveX#1085 in which groupBy was not using lift(). Using lift() is critical to support the
ubiquitous lift()-based architecture in RxJS Next.

Resolves ReactiveX#1085.
BREAKING CHANGES:
groupBy() now unsubscribes all inner Observables when the outer
Observable is unsubscribed. This diverges from the behavior in RxJS 4,
where inner Observables continue even if the outer is unsubscribed.
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 13, 2016
Add test for groupBy() operator, to verify that it supports the composable lift architecture.

Test for issue ReactiveX#1085.
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 13, 2016
Fix bug ReactiveX#1085 in which groupBy was not using lift(). Using lift() is critical to support the
ubiquitous lift()-based architecture in RxJS Next.

Resolves ReactiveX#1085.
BREAKING CHANGES:
groupBy() now unsubscribes all inner Observables when the outer
Observable is unsubscribed. This diverges from the behavior in RxJS 4,
where inner Observables continue even if the outer is unsubscribed.
@benlesh benlesh added this to the 5.0.0-beta.2 milestone Jan 15, 2016
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 18, 2016
Add test for groupBy() operator, to verify that it supports the composable lift architecture.

Test for issue ReactiveX#1085.
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 18, 2016
Fix bug ReactiveX#1085 in which groupBy was not using lift(). Using lift() is critical to support the
ubiquitous lift()-based architecture in RxJS Next.

Resolves ReactiveX#1085.
BREAKING CHANGES:
groupBy() now unsubscribes all inner Observables when the outer
Observable is unsubscribed. This diverges from the behavior in RxJS 4,
where inner Observables continue even if the outer is unsubscribed.
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 18, 2016
Fix bug ReactiveX#1085 in which groupBy was not using lift(). Using lift() is critical to support the
ubiquitous lift-based architecture in RxJS Next

Resolves ReactiveX#1085.
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 25, 2016
Fix bug ReactiveX#1085 in which groupBy was not using lift(). Using lift() is critical to support the
ubiquitous lift-based architecture in RxJS Next

Resolves ReactiveX#1085.
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 26, 2016
Add test for groupBy() operator, to verify that it supports the composable lift architecture.

Test for issue ReactiveX#1085.
staltz added a commit to staltz/RxJSNext that referenced this issue Jan 26, 2016
Fix bug ReactiveX#1085 in which groupBy was not using lift(). Using lift() is critical to support the
ubiquitous lift-based architecture in RxJS Next

Resolves ReactiveX#1085.
benlesh pushed a commit that referenced this issue Jan 27, 2016
Add test for groupBy() operator, to verify that it supports the composable lift architecture.

Test for issue #1085.
@lock
Copy link

lock bot commented Jun 7, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Issues we wouldn't mind assistance with.
Projects
None yet
Development

No branches or pull requests

3 participants