diff --git a/src/main/kotlin/tr/com/infumia/pubsub/codec/protobuf/ProtobufCodecProvider.kt b/src/main/kotlin/tr/com/infumia/pubsub/codec/protobuf/ProtobufCodecProvider.kt index 300ea10..10b0369 100644 --- a/src/main/kotlin/tr/com/infumia/pubsub/codec/protobuf/ProtobufCodecProvider.kt +++ b/src/main/kotlin/tr/com/infumia/pubsub/codec/protobuf/ProtobufCodecProvider.kt @@ -10,7 +10,6 @@ import tr.com.infumia.pubsub.codec.CodecProvider @OptIn(ExperimentalSerializationApi::class) class ProtobufCodecProvider : CodecProvider { - override fun provide(type: Class): Codec = ProtobufCodec(ProtoBuf.serializersModule.serializer(type.kotlin.createType()) as KSerializer) }