protobuf-go/proto
Joe Tsai 6c28674cea 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>
2019-07-12 16:20:52 +00:00
..
bench_test.go proto: bench_test fixes 2019-07-09 19:32:32 +00:00
decode_gen.go all: remove non-fatal UTF-8 validation errors (and non-fatal in general) 2019-06-20 20:55:13 +00:00
decode_test.go proto: fix merge semantics for oneof message 2019-07-12 16:20:52 +00:00
decode.go proto: fix merge semantics for oneof message 2019-07-12 16:20:52 +00:00
doc.go proto, internal/impl: make IsInitialized more consistent 2019-07-09 19:49:22 +00:00
encode_gen.go proto, internal/impl: avoid string->[]byte conversions 2019-06-24 17:41:45 +00:00
encode_test.go all: remove dependency on proto v1 2019-07-03 04:59:17 +00:00
encode.go all: remove protoreflect.Message.Len 2019-06-25 21:59:46 +00:00
equal_test.go all: remove dependency on proto v1 2019-07-03 04:59:17 +00:00
equal.go all: remove protoreflect.Message.Len 2019-06-25 21:59:46 +00:00
isinit_test.go proto, internal/impl: make IsInitialized more consistent 2019-07-09 19:49:22 +00:00
isinit.go proto, internal/impl: make IsInitialized more consistent 2019-07-09 19:49:22 +00:00
merge_test.go proto: fix merge semantics for oneof message 2019-07-12 16:20:52 +00:00
merge.go proto: implement Merge 2019-06-24 22:36:08 +00:00
proto_methods.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto_reflect.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
reset_test.go all: remove protoreflect.Message.Len 2019-06-25 21:59:46 +00:00
reset.go proto: fix memory aliasing bug in Reset 2019-06-20 19:48:37 +00:00
size_gen.go proto, internal/impl: avoid string->[]byte conversions 2019-06-24 17:41:45 +00:00
size.go reflect/protoreflect: add alternative message reflection API 2019-06-17 17:33:24 +00:00