We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8735a09 commit 188a606Copy full SHA for 188a606
firebase-common/src/commonMain/kotlin/dev/teamhub/firebase/encoders.kt
@@ -4,7 +4,7 @@ import kotlinx.serialization.*
4
import kotlinx.serialization.modules.EmptyModule
5
6
fun <T> encode(strategy: SerializationStrategy<T> , value: T, positiveInfinity: Any = Double.POSITIVE_INFINITY): Any? =
7
- FirebaseEncoder(positiveInfinity).apply { encode(strategy, value) }.value
+ FirebaseEncoder(positiveInfinity).apply { encode(strategy, value) }.value//.also { println("encoded $it") }
8
9
@ImplicitReflectionSerializer
10
fun encode(value: Any?, positiveInfinity: Any = Double.POSITIVE_INFINITY): Any? = value?.let {
0 commit comments