-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Most Angular 2 developers are writing applications and using libraries that take advantage of the observable pattern more than promises. Because of this, I suggest that the push, remove, and update parameters be changed to return Observables rather than "Thenable" and "firebase.Promise"
As far as converting promises to Observables, it's possible, but with Thenables I don't believe there is any easy support besides hand crafting an Observable yourself.
I am mainly requesting this feature because of the popularity of Observables and to take advantage of additional features from Observables. (If you're using Observables throughout your application, using a promise in one area doesn't make much sense if it can be implemented using Observables)
Version info
Angular: 2.4
Firebase: 3.6.7
**AngularFire:**2.0.0-beta.7
Other (e.g. Ionic/Cordova, Node, browser, operating system): Windows 10