-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing values.Map from BaseMessage proto as Beholder only supports …
…root level protos (#876) * removing values.Map from BaseMessage proto as Beholder only supports root level protos * fixing import * lint
- Loading branch information
1 parent
8b1c952
commit b772997
Showing
4 changed files
with
55 additions
and
43 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
syntax = "proto3"; | ||
|
||
import "values/pb/values.proto"; | ||
|
||
option go_package = "github.com/smartcontractkit/chainlink-common/pkg/beholder/pb/"; | ||
|
||
package pb; | ||
|
||
// BaseMessage is a basic custom message, allowing the consumer to send | ||
// a string msg with some key-value pairs for labels. Consumers can consume | ||
// BaseMessage directly or extend it by addding use-case specific fields | ||
// BaseMessage directly or extend it by adding use-case specific fields | ||
// NOTE: do not compose protos for Beholder until INFOPLAT-1386 is completed | ||
message BaseMessage { | ||
string msg=1; | ||
// https://protobuf.dev/programming-guides/proto3/#maps | ||
// In go: if Value is empty for a key, nothing will be serialized | ||
values.Map labels = 2; | ||
map<string, string> labels = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters