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
Other (e.g. Ionic/Cordova, Node, browser, operating system):
How to reproduce these conditions
Prior to upgrading to v5, the following code worked.
let donuts = this.db.object(`DONUTS`);
donuts.$ref.onDisconnect().set(false);
Now it no longer works as I can't access the $ref property from the result of the call to this.db.object(). Any ideas on how I might regain onDisconnect functionality? I didn't see this change in the migration docs, so this caught me off guard.