Go support for Google's protocol buffers
Go to file
Damien Neil 5698f90d86 internal/impl: fix messageset validation bug
The validator was not ensuring the the MessageInfo for messageset
items was initialized. Fixed.

One or more of the existing messageset tests fail when run in isolation
due to this bug, but running all of them in sequence passes due to an
earlier test initializing the MessageInfo first.

Change-Id: Ifa7bd525c6d1cef9d1bed7bf761b0380907e35ee
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/221023
Reviewed-by: Joe Tsai <joetsai@google.com>
2020-02-26 18:56:34 +00:00
cmd/protoc-gen-go cmd/protoc-gen-go/testdata: remove go.mod file 2020-02-24 22:15:38 +00:00
compiler/protogen all: trivial formatting changes 2020-02-25 21:59:54 +00:00
encoding all: trivial formatting changes 2020-02-25 21:59:54 +00:00
internal internal/impl: fix messageset validation bug 2020-02-26 18:56:34 +00:00
proto all: trivial formatting changes 2020-02-25 21:59:54 +00:00
reflect all: rename IsInitialized as CheckInitialized 2020-02-20 20:45:40 +00:00
runtime runtime/protoiface: trivial change to Size 2020-02-25 10:28:07 +00:00
testing all: trivial formatting changes 2020-02-25 21:59:54 +00:00
types testing/prototest: refactor prototest API 2020-02-20 22:47:27 +00:00
.gitignore cmd/protoc-gen-go/testdata: remove go.mod file 2020-02-24 22:15:38 +00:00
.travis.yml .travis.yml: configure for OSX 2019-03-13 18:04:08 +00:00
AUTHORS AUTHORS, CONTRIBUTORS, LICENSE, PATENTS: initial commit 2018-08-07 22:39:48 +00:00
CONTRIBUTING.md all: update contributing documentation 2020-02-24 22:15:07 +00:00
CONTRIBUTORS AUTHORS, CONTRIBUTORS, LICENSE, PATENTS: initial commit 2018-08-07 22:39:48 +00:00
go.mod proto: remove IsInitialized 2020-02-24 22:37:49 +00:00
go.sum proto: remove IsInitialized 2020-02-24 22:37:49 +00:00
integration_test.go all: remove reliance on --compact-summary 2020-02-22 01:19:34 +00:00
LICENSE AUTHORS, CONTRIBUTORS, LICENSE, PATENTS: initial commit 2018-08-07 22:39:48 +00:00
PATENTS AUTHORS, CONTRIBUTORS, LICENSE, PATENTS: initial commit 2018-08-07 22:39:48 +00:00
README.md CONTRIBUTING.md: initial commit 2018-08-01 20:39:06 +00:00
regenerate.bash internal/cmd/generate-protos: generate test for testdata 2019-03-11 19:40:53 +00:00
release.bash release.bash: add support for building release binaries 2019-08-21 01:15:26 +00:00
test.bash test.bash: add -failfast flag 2019-08-05 21:48:09 +00:00

Next Generation Go Protocol Buffers

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.

Design Documents

List of relevant design documents:

Contributing

We appreciate community contributions. See CONTRIBUTING.md.

Reporting Issues

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.