commit | e87cf53d57c90a30ac96ee468bd46f3f68b1d4f0 | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Tue Sep 10 12:20:00 2019 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Tue Sep 10 20:25:26 2019 +0000 |
tree | 494f6fe0ae3cfa18cf9fc6efee48bb9bf7576800 | |
parent | 3e80249d38abc90bd0de433b139c8b6f803503d3 [diff] |
internal/impl: fix panic calling XXX_MessageName on aberrant messages Call XXX_MessageName with best-effort. If it panics, oh-well. Change-Id: I605ea074470b0c90b0bea8b36fa7d4a69368692d Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/194598 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.