commit | c0f8c0a24ecea023cfba77e76d93c7515ab58378 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Fri Aug 09 09:32:44 2019 -0700 |
committer | Damien Neil <dneil@google.com> | Tue Aug 20 20:36:59 2019 +0000 |
tree | de393109fc17dd23e4f806c265bfc235547907cb | |
parent | 0080e68288c78240ab463b5285a2e9ef77d9b66c [diff] |
runtime/protoimpl: add ExtensionInfo alias This is change 1/5 in a series of commits changing protoV1.ExtensionDesc to directly implement protoreflect.ExtensionType. 1. [v2] Add protoimpl.ExtensionInfo as an alias for protoiface.ExtensionDescV1. 2. [v1] Update references to protoimpl.ExtensionInfo to use protoiface.ExtensionInfo. 3. [v2] Create protoimpl.ExtensionInfo (an alias to a new type in the impl package) and remove protoiface.ExtensionDescV1. 4. [v1] Remove unneeded explicit conversions between ExtensionDesc and ExtensionType (since the former now directly implements the latter). 5. [v2] Remove stub conversion functions. Change-Id: If6c7fd5f55364613387a05e6f8e9aa38cbfcc5b5 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/189562 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.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.