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
Reapplies #6778 after
#6721 inadvertently
reverted part of it.
The "to_proto" method on Starlark structs is deprecated and shouldn't be
used. Instead, the proto module's "encode_text" function should be used.
(https://bazel.build/rules/lib/toplevel/proto)
It, along with "to_json", can be disabled in Bazel using the flag
--incompatible_struct_has_no_methods
The underlying implementation is the same, so there should be no
observable changes in final outputs.
0 commit comments