Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Update FieldType documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Dec 8, 2023
1 parent d283ff8 commit 1fe33bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/restate/ext.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string> can be used for event payload fields
Expand Down

0 comments on commit 1fe33bc

Please sign in to comment.