Commit Graph

3 Commits

Author SHA1 Message Date
Damien Neil
aa735f3cca internal/testprotos: add missing go_package option
Change-Id: If28f15266349b2c05c209202c38bc98dc43f7dbd
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/219297
Reviewed-by: Joe Tsai <joetsai@google.com>
2020-02-14 00:45:09 +00:00
Damien Neil
f68f17085a internal/testprotos: minor .proto file fixes
Add a missing syntax and package statement.

Change-Id: I3c95aa055ad84fa0bbb2bbdd341b51df9359f499
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/217759
Reviewed-by: Joe Tsai <joetsai@google.com>
2020-02-04 19:28:20 +00:00
Damien Neil
6635e7d00a 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>
2020-01-15 23:51:51 +00:00