Add lambda-based builders for messages
See original GitHub issueHi!
First of all, I really appreciate what you have done. This is the library I was really waiting for. I was thinking of implementing sth similar on salesforce generators and found you’d already done it.
I will be very glad to contribute and help you with this project. I would like to generate some helpful methods to reduce the boilerplate. For example, creating messages using lambdas instead of builders. For example,
Record { id = someId author = someAuthor content = someContent votes = some.Votes }
What do you think? I have an idea how to do it.
I am also thinking of extending the readme with more examples and write more or less complex demo-app.
And if you have any ideas, how I can help you, I am happy to hear them.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (6 by maintainers)
I would love this feature, but I don’t think that this is the appropriate project to implement it. This generates a Kotlin flavour of the gRPC services. What you’re discussing is not directly related to gRPC, but rather relates to the protobuf message classes which are generated by the protocol buffer compiler. It seems to me like a message building DSL would be best implemented as a separate protoc plugin.
@leveretka Any updates on this?