-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge changes from internal repo. (#68)
Parsing protobuf from JSON now ignores unknown enum values instead of throwing an exception. The behavior is still different from parsing a message from a serialized byte string, because we do not store the (tag, unknown enum value) pair in the UnknownFieldSet. JSON parsing currently discards unknown field tags, so it makes sense to also discard the unknown enum values.
- Loading branch information
1 parent
8836e56
commit 8f06b65
Showing
4 changed files
with
25 additions
and
5 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: protobuf | ||
version: 0.5.3+2 | ||
version: 0.5.4 | ||
author: Dart Team <[email protected]> | ||
description: Runtime library for protocol buffers support. | ||
homepage: https://github.com/dart-lang/protobuf | ||
|
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