-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 broken example #1843
Fix broken example #1843
Conversation
add missing errdetails import so that protojson can translate errdetails as google.protobuf.Any fix grpc-ecosystem#1842
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Have you confirmed that this fixes the error?
See https://github.com/grpc-ecosystem/grpc-gateway/blob/master/CONTRIBUTING.md#using-docker for regenerating the bazel files |
Yes, that looks right to me! It's a peculiarity in how the google.protobuf.Any type marshals to JSON. |
Thanks for guide me @johanbrandhorst 😆 |
Codecov Report
@@ Coverage Diff @@
## master #1843 +/- ##
=======================================
Coverage 58.07% 58.07%
=======================================
Files 34 34
Lines 3754 3754
=======================================
Hits 2180 2180
Misses 1301 1301
Partials 273 273 Continue to review full report at Codecov.
|
Thanks for your contribution! |
References to other Issues or PRs
Fixes #1842
Have you read the Contributing Guidelines?
Yes
Brief description of what is fixed or changed
Import package
errdetails
so thatprotojson
can translateerrdetails.DebugInfo
asgoogle.protobuf.Any
Other comments