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
Using add on a CollectionReference built with withConverter throws an error when passing a custom class instance :
"[native Error Function CollectionReference.add() requires its first argument to be of type object, but it was: a custom Strategy object]"
The converter is only called if I pass a plain object, which seems to defeat the purpose of using a converter, unless I'm misunderstanding how this is supposed to work entirely
I'm encountering this in my Vue app and was able to reproduce it on CodeSandbox, link below