commit | 67c1d9b2c11dc760955d33208560cf1e9b1a4701 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Sun May 12 02:27:46 2019 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Mon May 13 20:21:18 2019 +0000 |
tree | 51483e7675b1e7521d3e79306ceaaa617f4f3a20 | |
parent | 0fc49f8225fca6e2e6482759c1742d9625c6ccba [diff] |
reflect/protoreflect: add Descriptor.ParentFile Querying for the parent file that contains a descriptor declaration is a common enough operation to warrant its own first-class method. Change-Id: I2f41e5126a5b465df23897904a6513dd3ed8dd92 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/176777 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.