commit | 6c28674ceacf863cbccf3bf192853efcc0426217 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Thu Jul 11 23:15:05 2019 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Fri Jul 12 16:20:52 2019 +0000 |
tree | dfe4e454783588483cb6e4c91565ad83adc56055 | |
parent | 62200db51ecace72c527a1a1b411c41b27d490ac [diff] |
proto: fix merge semantics for oneof message The proper semantics for a message field within a oneof when unmarshaling is to merge into an existing message, rather than replacing it. Change-Id: I7c08f6e4fa958c6ee6241e9083f7311515a97e15 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/185957 Reviewed-by: Damien Neil <dneil@google.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.