From ebd26e273474f81109c20a427e80c5366e070c12 Mon Sep 17 00:00:00 2001 From: khbminus Date: Sun, 12 Mar 2023 19:04:32 +0100 Subject: [PATCH] Added opt-ins --- .../kotlin/io/paddle/plugin/python/utils/SerializatoinUtils.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/python/src/main/kotlin/io/paddle/plugin/python/utils/SerializatoinUtils.kt b/plugins/python/src/main/kotlin/io/paddle/plugin/python/utils/SerializatoinUtils.kt index ff54735e..f1ad2190 100644 --- a/plugins/python/src/main/kotlin/io/paddle/plugin/python/utils/SerializatoinUtils.kt +++ b/plugins/python/src/main/kotlin/io/paddle/plugin/python/utils/SerializatoinUtils.kt @@ -1,5 +1,6 @@ package io.paddle.plugin.python.utils +import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx.serialization.json.Json @@ -8,5 +9,6 @@ internal val jsonParser = Json { ignoreUnknownKeys = true } +@ExperimentalSerializationApi class WrappedSerialDescriptor(override val serialName: String, original: SerialDescriptor) : SerialDescriptor by original