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
It seems FireMock is "unfolding" the field path when using the / symbol. I did a quick search and couldn't find any documentation about it for RTDB, but in Firestore there are constraints in fields that won't let you do that.
I'm guessing FireMock is using the same code to process and unfold the fields from RTDB and Firestore type of calls.
@lesmo the fields don't have a / in - it's just updating multiple paths, as a 'merge' essentially. the update syntax (at least in Firebase rather than firestore) allows you to do
I've never used the path "shortcut", I'm always calling .collection().doc() (on Firestore, though) to get to my document so it's possible I never faced this issue. I'm guessing that could be a workaround?
Hi folks, I've got some code that works as expected with the 'real' firebase, but not the mock. Is this a known issue/limitation?
however, savedValue.val() returns
{"devices": {"xyz": 123}}
The text was updated successfully, but these errors were encountered: