From 3adee97e900f892ec36438583cd29b29792d9304 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 2 Jun 2021 13:58:58 -0300 Subject: [PATCH 1/2] add comments to supports --- v2/proto/support.proto | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/v2/proto/support.proto b/v2/proto/support.proto index 5fa7e79..2bd7715 100644 --- a/v2/proto/support.proto +++ b/v2/proto/support.proto @@ -4,11 +4,9 @@ package pb; message Support { string emoji = 1; + string comment = 2; /* - oneof type { - Edit edit = 1; - Comment comment = 2; - } + Edit edit = 1; */ } @@ -17,8 +15,4 @@ message Edit { string key = 1; string value = 2; } - -message Comment { - string body = 1; -} */ -- 2.45.2 From f19399ae55bb9108a254946ef6f2c667cd9b51ce Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 2 Jun 2021 14:05:05 -0300 Subject: [PATCH 2/2] Edit still oneof --- v2/proto/support.proto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v2/proto/support.proto b/v2/proto/support.proto index 2bd7715..76a4c16 100644 --- a/v2/proto/support.proto +++ b/v2/proto/support.proto @@ -6,7 +6,9 @@ message Support { string emoji = 1; string comment = 2; /* - Edit edit = 1; + oneof type { + Edit edit = 1; + } */ } -- 2.45.2