kotlinx.serialization
kotlinx.serialization copied to clipboard
Kotlinx serialization protobuf plugin
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.
I am open to working with Kotlin team to keep kotlinx-protobuf-gen up-to-date 👍