commit | 8a1d460e506b9312a7e087b77d26be2e4b024acc | [log] [tgz] |
---|---|---|
author | Herbie Ong <herbie@google.com> | Tue Apr 02 20:19:36 2019 -0700 |
committer | Herbie Ong <herbie@google.com> | Wed Apr 03 06:57:53 2019 +0000 |
tree | d9b97f6611ef174624e7a61024668e6928f3fb98 | |
parent | 0d3e8cc096f1ab89865958fa1479eb6bc4b0cafb [diff] |
encoding/jsonpb,textpb: fix handling of duplicate oneof fields Unmarshaling should fail if multiple fields in the same oneof exists in the input. Change-Id: I76efd88681a50c18f3eaf770c9eb48727efb412b Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/170517 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.