white-appointment-6770
05/05/2025, 9:39 PM--experimental_allow_proto3_optional
to protoc when pants build the *_pb2 files. Looking at the porotbuf_spource and protobuf_sources targets does not reveal any properties for specifying additional protoc parameters. Is this accurate or did I miss it?white-appointment-6770
05/05/2025, 10:46 PM--experimental_allow_proto3_optional
is not needed in modern version of protoc. So looks like we do not need to pass any special parameters to protoc to use optional keyword in protoc v3.
Taking a look at the various protoc flags and options available, it may still be consider enabling a pass-through property for protoc flags in BUILD files via the protobuf_source(s) targets.happy-kitchen-89482
05/06/2025, 6:09 AMhappy-kitchen-89482
05/06/2025, 6:10 AMhappy-kitchen-89482
05/06/2025, 6:11 AMwhite-appointment-6770
05/06/2025, 3:41 PMhappy-kitchen-89482
05/07/2025, 1:28 PM