-
Notifications
You must be signed in to change notification settings - Fork 142
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
firebase-query not setting exists=false on the first run #349
Comments
@iSuslov I have similar issue with |
@andrewspy I can confirm by reviewing the code in master branch that |
@iSuslov Thanks for the info, you are right, May I know how to listen for |
@andrewspy |
@iSuslov I have tried out The reason Anyway, thanks for the help. |
@andrewspy should be expected behaviour, since it won't make actual request to the server if path is empty or invalid - containing |
Description
firebase-query not setting exists=false on the first run
Expected outcome
exists=false on the first run when
snapshot.hasChildren() == false
Actual outcome
ignores
exists
parameter and leaves it asnull
. Can not track that loading is finishedSteps to reproduce
Create
firebase-query
for empty collection and check what happens with exists property (Nothing).The text was updated successfully, but these errors were encountered: