-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
Instead of relying on Java builders it would be great if this library supported Kotlin DSL, e.g. given
service HelloWorldAPI {
rpc HelloWorld(HelloWorldRequest) returns (HelloWorldResponse);
}
message HelloWorldRequest {
string hello_message = 1;
}
message HelloWorldResponse {
string hello_response = 1;
}
It would be great if we could construct proto objects as
val hello = HelloWorldRequest {
helloMessage = "hello"
}
instead of using ugly Java builders
val hello = HelloWorldRequest.newBuilder()
.setHelloMessage("hello")
.build()
Metadata
Metadata
Assignees
Labels
No labels