-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: set type_url for storage Any requests (#831)
The prost protobuf library does not support message descriptors, so encapsulated Any messages from Nodes cannot fill in the type_url field. However, the C++ protobuf library code that unpacks an Any message into a specific protobuf message type requires this field to be present and match. Work around this by assuming that storage requests are of the correct type, and modify the Any message to set its type_url field appropriately.
- Loading branch information
1 parent
9bfc2a4
commit 4946661
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters