You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.settings(
PB.targets in Compile:=List(
scalapb.gen(grpc =false, flatPackage =false) -> (sourceManaged in Compile).value
),
includeFilter in PB.generate :=newSimpleFileFilter(
(f: File) => f.getName.equals("openrtb.proto")
)
)
The text was updated successfully, but these errors were encountered:
ArulselvanMadhavan
changed the title
OpenRTB - Unextended Sealed traits Error when using "oneof"
OpenRTB - Unextended Sealed traits - Linter Errors when using "oneof"
May 1, 2018
Hello,
Thanks for creating scalaPB. I find it to be very useful. I am trying to use scalaPB on openrtb - https://github.com/google/openrtb/blob/master/openrtb-core/src/main/protobuf/openrtb.proto
The scala classes created by scalaPB fail to compile on all occurences of "oneof" with an error saying "unextended sealed trait".
Error
Sample Generated Code that is failing to compile
Scala Version: 2.11.12
Linter Used: https://github.com/HairyFotr/linter
Protoc Version: 3.5.1
sbt-protoc: 0.99.18
ScalaPB Version: 0.7.1
The text was updated successfully, but these errors were encountered: