ScalaPB
ScalaPB copied to clipboard
Protocol buffer compiler for Scala.
This will trigger on imported files as well, which will break if a related runtime was not compiled with this option enabled. Since this is now supported as a package-level...
and document the method in documentation
scalapb generated code fails to compile in Scala 3 under these scalac flags: - `-new-syntax` - Require `then` and `do` in control expressions. - `-source:future` - Deprecates: private[this], `_` for...
Hello, I'm relatively new to this repo so forgive me if my lack of experience results in wasting your time. Using the [Weather example](https://scalapb.github.io/docs/generated-code#enumerations): ```scala // In ScalaPB >= 0.5.x,...
When defining options for proto values (e.g. Enum values) you have to get its [descriptor](https://scalapb.github.io/docs/user_defined_options/) to access it : ```scala MyEnum.VALUE_1.scalaValueDescriptor.asProto.getOptions.extensions(MyenumProto.myCustomOption) ``` It could be nice to get access to...
Conversions from java protobuf library to scala and back are missing the Misses UnknownFieldSet in one of the fields: ```scala FileDescriptorProto.fromJavaProto(javaFileDescriptorProto) ``` This works: ```scala FileDescriptorProto.parseFrom(javaFileDescriptorProto.toByteArray) ``` The methods seems...
Add support in TextFormat for: * print unknown fields * printing Any (see upstream testPrintAny_customBuiltTypeRegistry) * printing extensions and unknown extensions
https://github.com/scalapb/ScalaPB/blob/49a3b59ae811b7e3bd7f286e44dc77efcd575f21/docs/src/main/markdown/faq.md#how-do-i-use-scalapb-with-maven It says "protobuf-maven-plugin" in two places, but that plugin doesn't (yet) was any support for scala. Instead the correct plugin is "protoc-jar-maven-plugin". The example code (https://github.com/thesamet/scalapb-maven-example/blob/fa3eb585bbbb3e20c461aefbe821e0e75e922eb4/pom.xml#L125) also refers the...
Scala descriptors are not generated for services, and as a result it is impossible to inspect in Scala methods and options. See https://stackoverflow.com/questions/48029470/unknown-fields-in-proto-generated-by-scalapb
Updates * [org.scala-lang:scala3-compiler](https://github.com/lampepfl/dotty) * [org.scala-lang:scala3-library](https://github.com/lampepfl/dotty) * [org.scala-lang:scala3-library_sjs1](https://github.com/lampepfl/dotty) from 3.1.2 to 3.2.0. [GitHub Release Notes](https://github.com/lampepfl/dotty/releases/tag/3.2.0) - [Version Diff](https://github.com/lampepfl/dotty/compare/3.1.2...3.2.0) - [Version Diff](https://github.com/lampepfl/dotty/compare/release-3.1.2...release-3.2.0) I'll automatically update this PR to resolve conflicts as long...