commit | 7c624e2501b551c1b59e88028c95d3ddba001ec2 | [log] [tgz] |
---|---|---|
author | Herbie Ong <herbie@google.com> | Thu Dec 13 14:41:22 2018 -0800 |
committer | Herbie Ong <herbie@google.com> | Fri Dec 14 00:27:35 2018 +0000 |
tree | 5ac7f28814d9d3a5257ab7dd893f0c4a63dfd99a | |
parent | 70651959ff1d131056d617eee838289e3ab04499 [diff] |
encoding/textpb: ignore reserved field names during unmarshal Do not treat reserved field names as unknown. Skip over these instead of returning error for unknown field. Change-Id: Iba9371fd901a0690e5b7329bccf261570352b55d Reviewed-on: https://go-review.googlesource.com/c/154178 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.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.