Why I am currently vendoring
My package (package:gantry) requires protobuf ^6. Upstream cast_plus pins protobuf ^3.1.0 and its generated cast_channel.pb.dart calls PbList(), whose constructors are private in protobuf 6.0.0+.
Current Patch
In lib/cast_channel/cast_channel.pb.dart, each createRepeated() was changed from:
static $pb.PbList<T> createRepeated() => $pb.PbList<T>();
to:
static $core.List<T> createRepeated() => <T>[];
pubspec.yaml allows protobuf: '>=3.1.0 <7.0.0'.
Request
Upstream publishes a release regenerated with protoc_plugin ≥ 25 / protobuf 6.
Why I am currently vendoring
My package (
package:gantry) requiresprotobuf ^6. Upstreamcast_pluspinsprotobuf ^3.1.0and its generatedcast_channel.pb.dartcallsPbList(), whose constructors are private in protobuf 6.0.0+.Current Patch
In
lib/cast_channel/cast_channel.pb.dart, eachcreateRepeated()was changed from:to:
pubspec.yamlallowsprotobuf: '>=3.1.0 <7.0.0'.Request
Upstream publishes a release regenerated with
protoc_plugin≥ 25 / protobuf 6.