-
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
Observable.pairs(dict) missing in RxJS 5 #1804
Comments
Currently not all of operators are migrated from RxJS 4 to RxJS 5 yet. |
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 5, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 5, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 5, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 8, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 8, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 9, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 10, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 10, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 10, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Jul 11, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Aug 1, 2016
kwonoj
added a commit
to kwonoj/rxjs
that referenced
this issue
Aug 1, 2016
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
RxJS version:
5.0.0-beta.9
Code to reproduce:
Observable.pairs({a: 1, b: 2})
Expected behavior:
An Observable of
[['a', 1], ['b', 2]]
Actual behavior:
Observable.pairs is not a function
Additional information:
Reactive-Extensions/RxJS#704 says the correct way to convert a dictionary to an Observable is with
Observable.pairs(dict)
, but that doesn't seem to be defined in RxJS 5. Is there a creation operator for dictionaries/maps/Objects?One of the nice things about collection libraries like Immutable and underscore is that they treat both lists and dictionaries as collections, letting you {map, filter, reduce} as appropriate. To avoid bloat, it would be nice to use RxJS's collection methods for this, but I don't see any native way to operate on an Object.
The text was updated successfully, but these errors were encountered: