Store additional data that will allow us to reduce the number of verification SMSs.

This commit is contained in:
Nicholas
2023-01-17 16:41:02 -05:00
committed by Cody Henthorne
parent dcf8a82c37
commit 70c6e9e60f
10 changed files with 191 additions and 2 deletions

View File

@@ -15,3 +15,15 @@ interface IntSerializer<T> : Serializer<T, Int>
interface LongSerializer<T> : Serializer<T, Long>
interface ByteSerializer<T> : Serializer<T, ByteArray>
object StringStringSerializer : StringSerializer<String?> {
override fun serialize(data: String?): String {
return data ?: ""
}
override fun deserialize(data: String): String {
return data
}
}