Closed pambrose closed 1 year ago
Hi, thanks a lot for filing this issue 🙂 I was actually aware of this warning, but missed handling it before releasing. I agree that we should avoid having warnings in the generated code if possible. I'll add the null -> clause to genereated when statements and have the warnings removed in the next patch.
This was released as 1.0.1 thanks again!
Looks good! Thanks.
First, thanks so much for this project. It should be part of the Kotlin/gRPC distro.
The generated
.toDataClass()
methods are generating this compiler warningfor the when argument. Adding
would get rid of the warning.
Again, thanks for your efforts with this project.