-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[public-api] Remove google.Status from proto responses #9606
Conversation
748e3d7
to
7776dec
Compare
The intent of shipping Not hell-bent on the |
So To put it differently, we wouldn't include
In a regular HTTP response, but that's what we're doing here with |
My understanding from the Offsite, after some lengthy discussions, was:
My understanding was that for both approaches we do not need the explicity |
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.
@easyCZ and I had an offline discussion where we came to the conclusion that:
google.Status
does not serve the purpose we had intended, i.e. it's too generic to provide meaningful structured errors,- we'll want to keep things simple and go with gRPCs built-in errors for now - we can add structured errors down the road if we need to.
/unhold |
/hold |
7776dec
to
8a20df8
Compare
/unhold |
d4d0162
to
bea7a54
Compare
bea7a54
to
e4d09bc
Compare
/werft run 👍 started the job as gitpod-build-mp-public-api-remove-gp-lint.8 |
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.
LGTM (see discussion ☝️ )
Description
google.Status
in it. It's either in the form of an Error, or an OK which doesn't need the status. If we need more detailed status errors, we can use the native error (and status) model https://cloud.google.com/apis/design/errors, with rich and detailed error messages serialized in theError.details
fieldRelated Issue(s)
How to test
cd components/public-api && ./generate.sh
worksRelease Notes
Documentation
NONE