Skip to content

fix(IteratorObservable): clarify the return type of IteratorObservable.create()#2070

Merged
benlesh merged 1 commit intoReactiveX:masterfrom
tetsuharuohzeki:clarify-IteratorObservable-create
Nov 4, 2016
Merged

fix(IteratorObservable): clarify the return type of IteratorObservable.create()#2070
benlesh merged 1 commit intoReactiveX:masterfrom
tetsuharuohzeki:clarify-IteratorObservable-create

Conversation

@tetsuharuohzeki
Copy link
Contributor

@tetsuharuohzeki tetsuharuohzeki commented Oct 25, 2016

Description:

  • Before this change, if call IteratorObservable.create<number>() with specifying type parameter, the return type of it was IteratorObservable<{}>. This pull request fix this.
    • This might be potential breaking change.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.217% when pulling bb474c6 on saneyuki:clarify-IteratorObservable-create into 260d335 on ReactiveX:master.

@tetsuharuohzeki
Copy link
Contributor Author

updated the commit message

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.217% when pulling 62e604c on saneyuki:clarify-IteratorObservable-create into 260d335 on ReactiveX:master.

@tetsuharuohzeki tetsuharuohzeki force-pushed the clarify-IteratorObservable-create branch from 62e604c to c978d27 Compare October 26, 2016 04:04
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.217% when pulling c978d27 on saneyuki:clarify-IteratorObservable-create into 0271fab on ReactiveX:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.217% when pulling 48908d1 on saneyuki:clarify-IteratorObservable-create into 89612b2 on ReactiveX:master.

…e.create()

BREAKING CHANGE - `IteratorObservable.create<T>()` now returns correctly
`Obsevable<T>` with supplied type parameter `T`. This fixes the previous
implmentations which always returns `Obsevable<{}>`.
@tetsuharuohzeki tetsuharuohzeki force-pushed the clarify-IteratorObservable-create branch from 48908d1 to 602bcd8 Compare October 27, 2016 03:05
@coveralls
Copy link

coveralls commented Oct 27, 2016

Coverage Status

Coverage remained the same at 97.217% when pulling 62e604c on saneyuki:clarify-IteratorObservable-create into 260d335 on ReactiveX:master.

@benlesh benlesh merged commit 4f0f865 into ReactiveX:master Nov 4, 2016
@tetsuharuohzeki tetsuharuohzeki deleted the clarify-IteratorObservable-create branch November 4, 2016 19:15
@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.

3 participants