-
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
refactor(Subscription): return always subscription when calling Subscription.add() #1840
refactor(Subscription): return always subscription when calling Subscription.add() #1840
Conversation
sorry for nitpicking - doesn't |
4dab77c
to
6fb7c42
Compare
@kwonoj I fixed the message. |
6fb7c42
to
5f280ed
Compare
rebased! |
it('Should returns the passed one if passed a AnonymousSubscription having not function `unsubscribe` member', () => { | ||
const sub = new Subscription(); | ||
const arg = { | ||
isUnsubscribed: true, |
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.
oops. this should be false
for testing correctly
5f280ed
to
94ce8ac
Compare
94ce8ac
to
54b40b6
Compare
@kwonoj I rebased this on the latest master. |
LGTM, one more rebase and I'll merge! |
…ription.add() BREAKING CHANGE: This fixes ReactiveX#1656. This makes Subscription.add() returns always subscription. if you checks the returned value of it. you might need to change it.
54b40b6
to
03f9d0c
Compare
Thank you! 💃 |
you're welcome! |
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. |
BREAKING CHANGE:
This fixes #1656.
This makes Subscription.add() returns always subscription.
if you checks the returned value of it. you might need to change it.