krotoDC
krotoDC copied to clipboard
Protobuf Kotlin Dataclass, Converter & Custom Kotlin Coroutine gRPC Generator
reported at: https://github.com/mscheong01/krotoDC/issues/24#issuecomment-1977085381 by @anjanbk The currently provided serialization/deserialization extension methods, `toJson` and `fromJson` are hard to use inside generic serialization/deserialization classes. Although workaround through reflection is possible(something like [this](https://gist.github.com/krishnabhargav/7b1832eeb86aa213ba5bb239153977ea)),...
What is the future vision of this library? What are the missing features that you are willing to add and any new features you are willing to add? For stability,...
In proto3, message type fields are always optional; adding the optional keyword does not change the compiled java code i.e) ```proto message Message { Field field = 1; } message...
There were some cases I encountered in wild, I will illustrate using the following code as an example. ``` protobuf message Persons { Person person = 1; Person person_2nd =...
Simple Example: ```proto message Content { oneof Content { string text = 1; } } ``` is converted into ```kt @KrotoDC(forProto = a.b.c.Content::class) public data class Content( public val Content:...
Seems to be a breaking change with the latest release of com.google.protobuf:protobuf-java, currently this code ``` @Target(AnnotationTarget.CLASS) annotation class KrotoDC( val forProto: KClass ) ``` breaks to due to a...
Hi, first of all thank you for this great library. Compared to others, this is the only one that can help writing clean Kotlin from proto-generated code. Now, the problem...
Hello, first of all, thank you for the awesome library. I have been using it for a long time. I want to ask that if there is any chance that...