Firebase Stub: query parameters not kept between ref calls

This commit is contained in:
gianantoniopini
2021-01-14 09:38:46 +01:00
parent b6a0527fbe
commit 36036cc411
3 changed files with 42 additions and 4 deletions
@@ -78,6 +78,7 @@ class Database {
const newRef = new Reference(referencePath, () => this._data);
const existingRef = this._references[newRef.path];
if (existingRef) {
existingRef.initializeQueryParameters();
return existingRef;
}