Open Monabr opened 2 days ago
Hello.
Here code I am using
@Serializable(with = TimestampSerializer::class) override val serverTime: Timestamp = getDefaultPlatformTimestamp(),
And getting
kotlinx.serialization.SerializationException: This serializer must be used with FirebaseEncoder
Before set data to Firestore I am using Properties.encodeToMap(myClass). I believe here the error is occurs.
Properties.encodeToMap(myClass)
What am I doing wrong? Documentations says nothing about this case.
Hello.
Here code I am using
And getting
Before set data to Firestore I am using
Properties.encodeToMap(myClass)
. I believe here the error is occurs.What am I doing wrong? Documentations says nothing about this case.