Skip to content

Commit

Permalink
feat(compass): add include_fields in GetAllAssets request
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaliagg9791 committed Aug 1, 2023
1 parent ec06634 commit a0c2a3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gotocompany/compass/v1beta1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,12 @@ message GetAllAssetsRequest {
bool with_total = 10 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "if set include total field in response"
}];

repeated string include_fields = 11 [(validate.rules).repeated = {
unique: true,
ignore_empty: true
description: "'include_fields' is used to send only these fields in response, this helps in restricting the response."
}];
}

message GetAllAssetsResponse {
Expand Down

0 comments on commit a0c2a3b

Please sign in to comment.