commit | f12fb45fd636bdbd0a9734399921e580d3585330 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Jan 21 11:27:51 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Tue Jan 21 21:05:54 2020 +0000 |
tree | 0f87e7850277609396d1e16abf011e55e6d3dcf7 | |
parent | 2f643a974173c23b21a0ae3795c817f2c77faf30 [diff] |
all: add ProtoMethods method to protoreflect.Message Promote the fast-path magic ProtoMethods method to first-class citizen of the protoreflect.Message interface. To avoid polluting the protoreflect package with the various types required by this method, make the necessary protoiface types unnamed and duplicate them in protoreflect. Updates golang/protobuf#1022. Change-Id: I9595bae40b3bc7536d727fb6f99b3bce8f73da87 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/215718 Reviewed-by: Joe Tsai <joetsai@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.