kotlinx.serialization icon indicating copy to clipboard operation
kotlinx.serialization copied to clipboard

Kotlinx serialization protobuf plugin

Open Pseudow opened this issue 1 year ago • 1 comments

What is your use-case and why do you need this feature? When dealing with proto in kotlinx serialization you can only have your classes and serialize them. Being able to generate from proto files a fully serializable output would be good because actually you can't be sure the proto actually matches your definition.

Describe the solution you'd like A protobuf gradle plugin, there already is this option https://github.com/Dogacel/kotlinx-protobuf-gen but there is no guarantee it will still be up to date and compatible with kotlinx.

Pseudow avatar May 16 '24 12:05 Pseudow

I am open to working with Kotlin team to keep kotlinx-protobuf-gen up-to-date 👍

Dogacel avatar Aug 10 '24 16:08 Dogacel