From 9b3c7c19028d89a4e6d33c5b7df11dd2f9631545 Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 8 Sep 2020 12:33:12 +0800 Subject: [PATCH] Install serializer for PermissionId --- .../kotlin/net/mamoe/mirai/console/permission/PermissionId.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/permission/PermissionId.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/permission/PermissionId.kt index 5e5eda248..6488751e8 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/permission/PermissionId.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/permission/PermissionId.kt @@ -10,11 +10,13 @@ package net.mamoe.mirai.console.permission import kotlinx.serialization.KSerializer +import kotlinx.serialization.Serializable import kotlinx.serialization.Serializer import kotlinx.serialization.builtins.serializer import net.mamoe.mirai.console.internal.data.map +@Serializable @ExperimentalPermission public data class PermissionId( public val namespace: String,