commit | bce82b8e0d9c69050656c1b47fea8a3a5ff29709 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Thu Dec 06 09:39:03 2018 -0800 |
committer | Joe Tsai <thebrokentoaster@gmail.com> | Fri Dec 07 20:10:15 2018 +0000 |
tree | a0baaf22ff908312cf0268a54c2a769c5f9e44bf | |
parent | 381f04c1028a1c061e30d743e9a95fab84e93054 [diff] |
reflect/protoreflect: add HasJSONName, ReservedRanges, and ReservedNames These properties of descriptors are currently missing and makes it impossible to convert a FileDescriptorProto into one of the structured Go representations and convert it back to a proto message without loss of information. Furthermore, ReservedRanges and ReservedNames has semantic importance to text serialization. Change-Id: Ic33c30020ad51912b143156b95f47a4fb8da3503 Reviewed-on: https://go-review.googlesource.com/c/153019 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.