commit | 0cf31136c79661a1d8421594363a2b2701e719ba | [log] [tgz] |
---|---|---|
author | John Wright <jsw@google.com> | Wed May 15 11:39:13 2019 -0600 |
committer | Joe Tsai <joetsai@google.com> | Thu May 16 00:50:46 2019 +0000 |
tree | c94d1246653d1295dfece22b87fc44b67452cee4 | |
parent | cdb77735690769e70cf823761f2a94779405a005 [diff] |
internal/prototype: support dynamic enum and message types in extension GoExtension now supports extensions that have enum or message type that is implemented by a Go type that can take on multiple enum or message types (i.e. the actual enum or message type cannot be determined simply from the zero value of its Go type). This is necessary to support dynamic types generated at runtime from descriptors rather than at compile-time. Change-Id: Ia0b3b4b02332fc83c0c85e992b37ded467070472 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/177338 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.