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
That said, I'm not sure whether it makes sense for the proto Starlark module to have native awareness of the Struct type, or whether a new protostruct module should be introduced? Perhaps something like this:
It's possible to use
google/protobuf.struct.proto
today, but pretty awkward. For example:I'd prefer to be able to treat a
Struct
as if it were a Python dictionary. More like this:That said, I'm not sure whether it makes sense for the
proto
Starlark module to have native awareness of theStruct
type, or whether a newprotostruct
module should be introduced? Perhaps something like this:The text was updated successfully, but these errors were encountered: