Skip to content

Commit

Permalink
feat!: use struct for metadatas
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
toddbaert committed Feb 7, 2024
1 parent b98a826 commit 705c84a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions protobuf/flagd/sync/v1/sync.proto
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,7 @@ message GetMetadataRequest {}

// GetMetadataResponse contains metadata from the sync service
message GetMetadataResponse {
repeated KeyValue metadata = 1;
}

// KeyValue represents a key/value pair
message KeyValue {
string key = 1;
string value = 2;
google.protobuf.Struct metadata = 1;

Check failure on line 67 in protobuf/flagd/sync/v1/sync.proto

View workflow job for this annotation

GitHub Actions / lint-protos

field flagd.sync.v1.GetMetadataResponse.metadata: unknown type google.protobuf.Struct
}

// FlagService implements a server streaming to provide realtime flag configurations
Expand Down

0 comments on commit 705c84a

Please sign in to comment.