Skip to content

Commit 188a606

Browse files
committed
logging
1 parent 8735a09 commit 188a606

File tree

1 file changed

+1
-1
lines changed
  • firebase-common/src/commonMain/kotlin/dev/teamhub/firebase

1 file changed

+1
-1
lines changed

firebase-common/src/commonMain/kotlin/dev/teamhub/firebase/encoders.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import kotlinx.serialization.*
44
import kotlinx.serialization.modules.EmptyModule
55

66
fun <T> encode(strategy: SerializationStrategy<T> , value: T, positiveInfinity: Any = Double.POSITIVE_INFINITY): Any? =
7-
FirebaseEncoder(positiveInfinity).apply { encode(strategy, value) }.value
7+
FirebaseEncoder(positiveInfinity).apply { encode(strategy, value) }.value//.also { println("encoded $it") }
88

99
@ImplicitReflectionSerializer
1010
fun encode(value: Any?, positiveInfinity: Any = Double.POSITIVE_INFINITY): Any? = value?.let {

0 commit comments

Comments
 (0)