-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any kotlin class generator based on .proto file available? #477
Comments
There isn't any and we have no plans to add it in the nearest future. This project has a purpose drastically different from the original Protobuf: Kotlin-first data model that is format-agnostic and can be shared between all the platforms Kotlin supports. Protobuf inverses this principle: What we have in mind is generating |
Any idea when we will be able to generate .proto from kotlin files? I'm working on a project that has a front-end (vue), iOS, and we only want to keep one source of truth for proto files, which currently seems like we must use .proto files rather the kotlin data classes. |
Probably around 1.1.0, probably the end of this year |
Hi, any update about this issue ? |
We have a prototype of .proto file generator that is aiming for the next release: #1255 We do not plan to implement |
I am actually interested in having .proto file generated from my @serializable data class. This is because I was using serialization-protobuf library but then those data class needed to be sent over the wire to a backend in golang and I unfortunately had to redo all my classes the old way instead to make it work (with .proto and protobuf-lite). Happy to see the generator for the next release! |
Hi, I am actually working on a project to auto-generate kotlin classes from On the way, I have realized several bugs and missing features on https://github.com/Dogacel/kotlinx-protobuf-gen |
just as title
The text was updated successfully, but these errors were encountered: