You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a minor proposal re: the release candidate proposal in #854.
Currently, the FirebaseListObservable and the FirebaseObjectObservable both have a $ref property that refers to the underlying SDK object. However, with the FirebaseListObservable, $ref refers to a Query. Which means that if you want to access the Reference you have to use list.$ref.ref.
This is something that I find a little annoying, but I can live with it. However, given that the intention is for the RC to encourage concurrent use of AngularFire(2) and the SDK, wouldn't it be better to make this more explicit and add separate $query and $ref properties to the FirebaseListObservable? Or to use a $query property instead of a $ref property for the FirebaseListObservable?
The text was updated successfully, but these errors were encountered:
Never mind. I had this wrong. With FirebasListObservable the type of the $ref property is Reference | Query and what it is depends upon what's passed into the factory. It's fine.
I have a minor proposal re: the release candidate proposal in #854.
Currently, the
FirebaseListObservable
and theFirebaseObjectObservable
both have a$ref
property that refers to the underlying SDK object. However, with theFirebaseListObservable
,$ref
refers to aQuery
. Which means that if you want to access theReference
you have to uselist.$ref.ref
.This is something that I find a little annoying, but I can live with it. However, given that the intention is for the RC to encourage concurrent use of
AngularFire(2)
and the SDK, wouldn't it be better to make this more explicit and add separate$query
and$ref
properties to theFirebaseListObservable
? Or to use a$query
property instead of a$ref
property for theFirebaseListObservable
?The text was updated successfully, but these errors were encountered: