Sooo… generics are supported in Protobuf with kotlinx.serialization?
I wrote a test case using this, I was surprised and delighted to see it pass!
Copy code
@OptIn(ExperimentalSerializationApi::class)
@Serializable
data class GenericWrapper<T>(
@ProtoNumber(1) val name: String,
@ProtoNumber(2) val content: T,
)