From 1fe33bc0b369e2fa29fc642eee0d90a5537128f6 Mon Sep 17 00:00:00 2001 From: slinkydeveloper Date: Fri, 8 Dec 2023 15:08:24 +0100 Subject: [PATCH] Update FieldType documentation --- dev/restate/ext.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/restate/ext.proto b/dev/restate/ext.proto index ed358f7..6bc8406 100644 --- a/dev/restate/ext.proto +++ b/dev/restate/ext.proto @@ -29,10 +29,11 @@ enum ServiceType { enum FieldType { // protolint:disable:next ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH + // Note: only string fields can be used for service key fields KEY = 0; // Flag a field as event payload. When receiving events, this field will be filled with the event payload. - // Note: only types string and bytes can be used for event payload fields + // Note: only string fields can be used for event payload fields EVENT_PAYLOAD = 1; // Flag a field as event metadata. When receiving events, this field will be filled with the event metadata. // Note: only type map can be used for event payload fields