Is there projection/filter support for golang grpc protobuf stack?

Viewed 233

we are using golang grpc protobuf as our server stack, I am wondering is there projection feature where I can filter certain fields in the response?

1 Answers

A FieldMask may be used in this way. According to the docs:

When a FieldMask specifies a projection, the API will filter the response message (or sub-message) to contain only those fields specified in the mask.

Related