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 think I have am encountering an inconsistency between Firebase and targaryen, in the way they treat .child("").
In my rules, I check the existence of a value in a collection by doing collection.child(key) != null. But for an empty key "", it looks like targaryen returns null while Firebase returns something (maybe the collection itself). I have noticed that doing collection.child("") != null in Firebase always pass, though I don't have any values at a "" key (I doubt it's even possible).
Do you have any insight here?
The text was updated successfully, but these errors were encountered:
I think I have am encountering an inconsistency between Firebase and targaryen, in the way they treat
.child("")
.In my rules, I check the existence of a value in a collection by doing
collection.child(key) != null
. But for an empty key""
, it looks like targaryen returnsnull
while Firebase returns something (maybe the collection itself). I have noticed that doingcollection.child("") != null
in Firebase always pass, though I don't have any values at a""
key (I doubt it's even possible).Do you have any insight here?
The text was updated successfully, but these errors were encountered: