-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic support for URL prefixes in google.protobuf.Any types.
Not all languages accept just the fully qualified name as type_url. In the official C++/C# protobuf library the type_url must at least start with a '/', otherwise the name is not resolved. Additionally we should be able to unpack types even if they have an URL prefix like type.googleapis.com/full.type.name. This commit just removes the URL prefix (similar as in other implementations I saw, e.g. python).
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 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
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