commit | 4df99fd52629c0888fa864a8ea94638a3d64f85a | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Tue Aug 20 22:26:16 2019 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Wed Aug 21 20:40:24 2019 +0000 |
tree | 810c19edcb471a030983e40f51b82bd9bd4c3e0b | |
parent | 2cec484ed75a8c522402e1373650204e995744f0 [diff] |
compiler/protogen: add EnumValue.Parent EnumValues, Fields, Oneofs, and Methods are all declarations that exist within some parent declaration. The later three have a Parent field. It seems only consistent that EnumValue have one as well. Change-Id: I774576565046ede4a96f86ceaa446a39613a39f5 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/191097 Reviewed-by: Damien Neil <dneil@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.