-
Notifications
You must be signed in to change notification settings - Fork 41
Unpacking proto.Any #169
Copy link
Copy link
Open
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Describe the solution you'd like
I'd like properties of type
proto.Anyto be recursively unpacked when formatting the cell values serialized in protobuf.For example, I have the a cell value serialized using the following schema:
When writing to Bigtable I set the value of
barwith Any.pack on an instance ofBar. Then I try to inspect the content of the cell. I have all the proto files included in theformat-file.At the moment I get:
I'd like cbt to unpack the value to the type specified under "type_url"
Additional context
For comparison,
grpcurlis able to identify and unpackproto.Anyas long as the type is one of the files added with-import-pathand-proto: source?