Open puf opened 2 months ago
https://github.com/firebase/snippets-web/blob/1abb6ce1a784ae5552946dff5f1f5aab7dcbda30/snippets/firestore-next/test-firestore/get_custom_object.js#L16
The toString() method exists on each Object already, so it is not a great example to highlight that we get a custom object type back when using withConverter. I recommend using name, state, and/or country instead.
toString()
Object
withConverter
name
state
country
https://github.com/firebase/snippets-web/blob/1abb6ce1a784ae5552946dff5f1f5aab7dcbda30/snippets/firestore-next/test-firestore/get_custom_object.js#L16
The
toString()
method exists on eachObject
already, so it is not a great example to highlight that we get a custom object type back when usingwithConverter
. I recommend usingname
,state
, and/orcountry
instead.