Firestore 5.12.0 + expects [String: Any]
robrichardson13 opened this issue · 1 comments
robrichardson13 commented
Looks like when writing data to Firestore 5.12.0 it requires the data to be in the [String: Any]
format, where after encoding an object using let model = try! FirebaseEncoder().encode(object)
, it returns the data in [Any]
format.
Anyone know of a workaround?
robrichardson13 commented
Issue was using the FirebaseEncoder()
instead of the FirestoreEncoder()