streem / pbandk

Kotlin Code Generator and Runtime for Protocol Buffers
MIT License
270 stars 37 forks source link

Implement builders pattern into generated models #31

Open kubitre opened 4 years ago

kubitre commented 4 years ago

[description has been edited by @garyp from the original issue]

Generate a builder class for each proto message, similar to the proposal at https://github.com/lowasser/protobuf/blob/master/kotlin-design.md#proto-creation-dsl. Use Kotlin's type-safe builders functionality.

andre161292 commented 1 year ago

I would love to see this feature, too. Building large messages partially from the Java world is a pain nowadays.

Is any help needed?