Skip to content

Conversation

@xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Oct 1, 2025

b.setSupportedFeatures(value.supportedFeatures.map(_.getNumber()).sum)
b.setUnknownFields(
// https://github.com/protocolbuffers/protobuf/blob/1f60d67437d7f57700/src/google/protobuf/compiler/plugin.proto#L105-L115
UnknownFieldSet
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

val protobufJava = "com.google.protobuf" % "protobuf-java" % "3.25.5"

use UnknownFieldSet because protobuf-java 3.x does not have minimumEdition and maximumEdition.

@xuwei-k xuwei-k force-pushed the minimumEdition-maximumEdition branch from 5a12210 to 100dbf1 Compare October 1, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant