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

Support 'details' from the RPC Error Model #209

Closed
kriswuollett opened this issue Jun 27, 2019 · 2 comments · Fixed by #349
Closed

Support 'details' from the RPC Error Model #209

kriswuollett opened this issue Jun 27, 2019 · 2 comments · Fixed by #349

Comments

@kriswuollett
Copy link

kriswuollett commented Jun 27, 2019

It currently isn't possible to fully take advantage of and interact with (and produce) gRPC services that make use of the full RPC Error Model because the GrpcError class is missing the details field as defined in google/rpc/status.proto.

One example use case out of many is being able to access retry_delay for behaving nicely with a service.

This would help developers avoid baking in custom error details into their custom response message definitions themselves. My current workaround for Dart (and the other languages that don't support this yet) is to encode google.rpc.Status into (a JSON String field in) the message field.

@hrpath
Copy link

hrpath commented Feb 4, 2020

Any news on this front, this could help a lot adoption or cut it down.
Thx

@acoutts
Copy link
Contributor

acoutts commented Sep 14, 2020

@kriswuollett I got started on this, please see my PR here: #349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants