From ea9ea352faec3fb22222b350acb4c78e6536749d Mon Sep 17 00:00:00 2001 From: Timo Stamm Date: Tue, 10 Sep 2024 14:51:01 +0200 Subject: [PATCH] Clarify Connect error debug property type Signed-off-by: Timo Stamm --- docs/protocol.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/protocol.md b/docs/protocol.md index a4e7502..a7ef420 100644 --- a/docs/protocol.md +++ b/docs/protocol.md @@ -595,7 +595,7 @@ number of other properties. The "type" field contains the fully-qualified Protobuf message name as a UTF-8 string, and the "value" field contains unpadded, base64-encoded binary Protobuf data. For readability on the wire, server implementations may also serialize the detail to JSON and include the -resulting object under the "debug" key. Clients must not depend on data in the +resulting value under the "debug" key. Clients must not depend on data in the "debug" key when deserializing details. ```json @@ -606,7 +606,7 @@ resulting object under the "debug" key. Clients must not depend on data in the { "type": "google.rpc.RetryInfo", "value": "CgIIPA", - "debug": {"retryDelay": "30s"}, + "debug": {"retryDelay": "30s"} } ] }