From a3143af0841c5161cf33e01f52ad208f8f08b918 Mon Sep 17 00:00:00 2001 From: ajbalogh Date: Thu, 28 Mar 2024 13:55:27 +0000 Subject: [PATCH] support Any type in AttributeProto --- et_def/et_def.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/et_def/et_def.proto b/et_def/et_def.proto index 965cec86..1292e61a 100644 --- a/et_def/et_def.proto +++ b/et_def/et_def.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package ChakraProtoMsg; +import "google/protobuf/any.proto"; + message AttributeProto { string name = 1; string doc_string = 2; @@ -37,6 +39,8 @@ message AttributeProto { StringList string_list = 30; bytes bytes_val = 31; BytesList bytes_list = 32; + google.protobuf.Any any_val = 33; + AnyList any_list = 34; } } @@ -100,6 +104,10 @@ message BytesList { repeated bytes values = 1; } +message AnyList { + repeated google.protobuf.Any values = 1; +} + message GlobalMetadata { string version = 1; repeated AttributeProto attr = 2;