Closed hpbl closed 6 years ago
Hi! Thanks for reaching out! Please, try to use FirestoreDecoder
instead. GeoPoint
is only relevant to Firestore
Yeah, sorry about that, I just realized this, and was about to post it myself. Thanks for the quick feedback and for the pod. 😊
Hey @hpbl did you resolve this issue ? Because you code is actually using a FirebaseDecoder
. Did you switch to FirestoreDecoder
instead ?
@martindufort Yes, switching to FirestoreDecoder
fixes it
@alickbass edit your comment so it reads "try to use FirestoreDecoder
instead..."
Hi, the following code is failing:
modelDict's decode is failing on the key
"location"
. Thelocation
property is of type GeoPoint, and as you can see bellow, modelDict has the correct type:the error I'm getting is that the value for this key is not a dictionary (which it shouldn't be):
Can anyone help me? Am I missing something?
Thanks