protobuf-go/proto
Joe Tsai db38ddde7d proto: eagerly unmarshal extensions
CL/172399 switches the v1 code to eagerly unmarshal extensions.
This CL does the equivalent for v2.

For the test, we simply switch from protoV1.Equal to protoV2.Equal,
since the v2 equal does not magically unmarshal raw extensions.

Change-Id: I6f64455b0a75bbc9a9a82108558641a29bd2b982
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/175838
Reviewed-by: Damien Neil <dneil@google.com>
2019-05-09 01:19:44 +00:00
..
bench_test.go proto: add simple benchmark 2019-04-08 18:36:24 +00:00
decode_gen.go proto: validate UTF-8 in proto3 strings 2019-04-12 17:43:10 +00:00
decode_test.go proto: eagerly unmarshal extensions 2019-05-09 01:19:44 +00:00
decode.go proto: eagerly unmarshal extensions 2019-05-09 01:19:44 +00:00
encode_gen.go proto: validate UTF-8 in proto3 strings 2019-04-12 17:43:10 +00:00
encode_test.go proto: add Equal 2019-04-29 23:34:17 +00:00
encode.go reflect/protoreflect: rename methods with Type suffix 2019-04-20 06:35:24 +00:00
equal_test.go proto: add Equal 2019-04-29 23:34:17 +00:00
equal.go proto: add Equal 2019-04-29 23:34:17 +00:00
isinit_test.go proto: add IsInitialized 2019-04-05 22:21:46 +00:00
isinit.go reflect/protoreflect: rename methods with Type suffix 2019-04-20 06:35:24 +00:00
proto_methods.go proto: enable/disable fast path with build tags 2019-04-07 17:00:00 +00:00
proto_reflect.go proto: enable/disable fast path with build tags 2019-04-07 17:00:00 +00:00
proto.go proto: enable/disable fast path with build tags 2019-04-07 17:00:00 +00:00
size_gen.go proto: add generic Size 2019-03-27 17:25:13 +00:00
size.go reflect/protoreflect: rename methods with Type suffix 2019-04-20 06:35:24 +00:00