GeneratedMessageCompanion[A]
can require that A
conform to [A <: GeneratedMessage with Message[A]]
, this lets it use the toMutable method defined on Message[A]
as such:def toMutable(msg: A): org.apache.avro.generic.GenericRecord = msg.toMutable
scalaType
that will function similarly to the protobuf annotation used by ScalaPB: [(scalapb.field).type = "mydomain.Seconds"]
.
0.3.1