commit | 6635e7d00a270c649971fa5f19399e896c8565f6 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Wed Jan 15 15:08:57 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Wed Jan 15 23:51:51 2020 +0000 |
tree | 4372568e89f93797c5b05e7fbdf0dbf0a8490145 | |
parent | 2ae60936c2a8b444e73f44f2f433459a2cbfe817 [diff] |
internal/impl: recognized required bytes fields in validation Add a missed case in validation so we correctly validate bytes fields. Fixes a case where we would report required bytes fields as potentially missing. Change-Id: I3dc4196d6995942d32a795a64214b3679d60ab6c Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/215000 Reviewed-by: Joe Tsai <joetsai@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.