We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am having a proto file as follows
syntax = "proto3"; package csw_messages_params; import "scalapb/scalapb.proto"; option (scalapb.options) = { single_file: true }; message PbRaDec { double ra = 1; double dec = 2; }
Added following in plugins.sbt
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.12-rc6") libraryDependencies += "com.trueaccord.scalapb" %% "compilerplugin" % "0.6.4"
Added following settings to project in build.sbt
.settings( Common.detectCycles := false, PB.targets in Compile := Seq( PB.gens.java -> (sourceManaged in Compile).value, scalapb.gen(javaConversions = true) -> (sourceManaged in Compile).value ) )
Problem: When the proto file is compiled and equivalent .scala file is generated via sbt, then there is a warning of
Warning:(8, 40) Unused import import scala.collection.JavaConverters._
appearing.
There are two other proto files for which I am receiving the same warning on compilation
The text was updated successfully, but these errors were encountered:
05a2b6a
Thanks for the release of 0.6.7. The warning I reported above
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; }
Sorry, something went wrong.
This issue still persists with repeated fields. Strangely enough, I only get this warning when the repeated field is part of a gRPC response.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: