[go: nahoru, domu]

Skip to content
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

Fix Firestore failing to return empty results from the local cache #4207

Prev Previous commit
Next Next commit
fix failing test
  • Loading branch information
milaGGL committed Oct 17, 2022
commit c812c7eff9f9f92ebbbd63011b5f98ece6f6c1ff
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ public static QuerySnapshot querySnapshot(
isFromCache,
mutatedKeys,
/* didSyncStateChange= */ true,
/* excludesMetadataChanges= */ false);
/* excludesMetadataChanges= */ false,
/* hasCachedResults= */ false);
return new QuerySnapshot(query(path), viewSnapshot, FIRESTORE);
}
}