Open skvithalani opened 6 years ago
Thanks for the release of 0.6.7. The warning I reported above
Warning:(8, 40) Unused import
import scala.collection.JavaConverters._
is fixed for messages but not for enum types. Here is a sample of enum proto file that we are using in our project
syntax = "proto3";
package csw_protobuf;
enum PbUnits {
//default unit
NoUnits = 0;
// SI units
angstrom = 1;
arcmin = 2;
arcsec = 3;
}
This issue still persists with repeated fields. Strangely enough, I only get this warning when the repeated field is part of a gRPC response.
I am having a proto file as follows
Added following in plugins.sbt
Added following settings to project in build.sbt
Problem: When the proto file is compiled and equivalent .scala file is generated via sbt, then there is a warning of
appearing.
There are two other proto files for which I am receiving the same warning on compilation