Mark Allanson
04/30/2021, 7:33 AMval message = with(MyMessage.newBuilder()) {
someField = 1
build()
}
I was thinking it would be nicer to do something like....
val message = build(MyMessage) {
someField = 1
}
... but my Kotlin isn't good enough to be able to write that build function yet 😄Dariusz Kuc
04/30/2021, 12:49 PMMark Allanson
04/30/2021, 1:03 PMDariusz Kuc
04/30/2021, 2:07 PMkroto+
DSL with grpc-kotlin
)Mark Allanson
04/30/2021, 2:34 PMMarc Plano-Lesay
04/30/2021, 10:28 PM