protobuf-go/reflect/protoreflect
Joe Tsai a2dd228004 internal/fileinit: make fileinit responsible for registering concrete options types
Changes:
* Remove protoreflect.OptionsMessage and use protoreflect.ProtoMessage
now that the generated options natively implement reflection.
* Make registration of concrete option types the responsibility of
internal/fileinit since the init logic of descriptor.pb.go uses that.
* Remove equivalent logic in protoc-gen-go to special-case descriptor.

Change-Id: Id814651fafa4d888ff4532d59c6a4f9b68145157
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/171465
Reviewed-by: Damien Neil <dneil@google.com>
2019-04-15 20:37:10 +00:00
..
proto_test.go reflect/protoreflect: initial commit 2018-08-10 19:59:50 +00:00
proto.go reflect/protoreflect: clarify documentation 2019-01-09 21:05:02 +00:00
type.go internal/fileinit: make fileinit responsible for registering concrete options types 2019-04-15 20:37:10 +00:00
value_pure.go all: add appengine build tag 2018-12-19 00:36:57 +00:00
value_test.go all: rename Vector as List 2018-11-14 23:03:53 +00:00
value_union.go reflect/protoreflect: drop the ProtoEnum type 2019-01-09 00:40:35 +00:00
value_unsafe.go all: add appengine build tag 2018-12-19 00:36:57 +00:00
value.go reflect/protoreflect: add KnownFields.WhichOneof 2019-04-09 21:18:45 +00:00