Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compile errors caused by protobuf finally merging their dev branch to master #636

Merged
merged 3 commits into from
May 1, 2018

Conversation

jhump
Copy link
Contributor

@jhump jhump commented May 1, 2018

Build breakages caused by upstream: golang/protobuf#591

Unkeyed struct literals for proto messages are now explicitly prevent w/ extra fields in the message thanks to new XXX_NoUnkeyedLiteral fields generated in every message. (Even w/out that field, the new XXX_unrecognized and XXX_sizecache also effectively break any usage of unkeyed struct literals.)

There were also some reflect.DeepEqual usages to compare protos, which can be be incorrect (mainly due to XXX_sizecache).

Finally, one of the test configurations verifies that the generated code is up-to-date. So I re-generated the impact *.pb.go files with latest protoc-gen-go.

@jhump jhump force-pushed the jh/fix-for-new-protobuf branch from 9d75cb8 to 378ad71 Compare May 1, 2018 02:54
@codecov-io
Copy link

Codecov Report

Merging #636 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #636   +/-   ##
=======================================
  Coverage   58.88%   58.88%           
=======================================
  Files          30       30           
  Lines        2853     2853           
=======================================
  Hits         1680     1680           
  Misses       1010     1010           
  Partials      163      163

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87a1b0c...378ad71. Read the comment docs.

@achew22 achew22 merged commit c2b051d into grpc-ecosystem:master May 1, 2018
adasari pushed a commit to adasari/grpc-gateway that referenced this pull request Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants