commit | 42577eaa4dd85168712a3068ec7fd0caf8407ad5 | [log] [tgz] |
---|---|---|
author | Herbie Ong <herbie@google.com> | Tue Mar 26 16:26:22 2019 -0700 |
committer | Herbie Ong <herbie@google.com> | Wed Mar 27 17:23:26 2019 +0000 |
tree | ec8f9c6d0a2c2f6e3fbbfa39fc42fb5a2077894f | |
parent | 307a7930c80ffa3862e3b59950e4a503ef6f9c68 [diff] |
encoding/textpb: add AllowPartial option to MarshalOptions and UnmarshalOptions Provide AllowPartial option to accept messages with missing required field during marshaling and unmarshaling. Change-Id: Ia23783870a8125633f8ddc0b686984b4c5ca15ba Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/169500 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> 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.