You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to status.proto, details is of type Any. The current implementation accepts only string for error details and communicates via http2 header.
The details could be a result of field validation, meaning it could be a list of objects or similar.
What would be a better way to communicate error details besides: (a) JSON.stringify() to details, (b) some custom metadata string key, which implies JSON.stringify(), (c) a binary metadata key, which implies base64 encoding?
The text was updated successfully, but these errors were encountered:
According to status.proto,
details
is of typeAny
. The current implementation accepts onlystring
for error details and communicates viahttp2
header.The details could be a result of field validation, meaning it could be a list of objects or similar.
What would be a better way to communicate error details besides: (a)
JSON.stringify()
todetails
, (b) some custom metadata string key, which impliesJSON.stringify()
, (c) a binary metadata key, which implies base64 encoding?The text was updated successfully, but these errors were encountered: