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

fix(merge): return Observable when called with single lowerCaseO #2363

Merged
merged 1 commit into from
Feb 14, 2017
Merged

fix(merge): return Observable when called with single lowerCaseO #2363

merged 1 commit into from
Feb 14, 2017

Conversation

mpodlasin
Copy link
Contributor

Description:

Currently when merge is used with lower case observable, it returns lower case observable itself, instead of adapting it to RxJS Observable.

Observable.merge(lowerCaseO).map(...); // throws, since 'map' is not on lower case observable

Return Observable when merge is called with single lower case observable,
so that merge would always return Observable instance.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0003%) to 97.689% when pulling 85752eb on Podlas29:static-merge-with-one-observable-input into 31dfc73 on ReactiveX:master.

Copy link
Member

@jayphelps jayphelps left a comment

Choose a reason for hiding this comment

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

Another excellent find and fix! Thank you!

@lock
Copy link

lock bot commented Jun 6, 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 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants