commit | 1ffc47f77ec7d263812c32c7a940ce8fb818327f | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Mon Jun 24 16:03:52 2019 -0700 |
committer | Joe Tsai <thebrokentoaster@gmail.com> | Mon Jun 24 23:34:46 2019 +0000 |
tree | 95741153d70a1298b1784e97fd501832d3a3cf4d | |
parent | 2fc306a8e39ef3ea2824f1c30c5965678b9f6d12 [diff] |
reflect/protoreflect: print unknown number in String methods Preserving the unknown enum in the String method helps errors produced by reflect/protodesc be more informative. Change-Id: I8efb09cb3c744bf4483b310053df7686da540387 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/183699 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.