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
@mantasindrasius , thanks for reporting! I confirm that unknown fields are not converted to/from java for any ScalaPB message. Will you be able to work on a PR for this?
Conversions from java protobuf library to scala and back are missing the
Misses UnknownFieldSet in one of the fields:
FileDescriptorProto.fromJavaProto(javaFileDescriptorProto)
This works:
FileDescriptorProto.parseFrom(javaFileDescriptorProto.toByteArray)
The methods seems lacking the UnknownFieldSet setters:
https://github.com/scalapb/ScalaPB/blob/master/scalapb-runtime/src/main/scalajvm/com/google/protobuf/descriptor/FieldOptions.scala#L211
The text was updated successfully, but these errors were encountered: