googleapis / googleapis/gapic-generator-ruby

Document how to access trailing_metadata from ActiveCall::Operation on streaming responses

Open
#241 5 comments 0 reactions 0 assignees View on GitHub
type: feature request
Dominant language
Ruby
Stars
50
Forks
36
Avg merge
1d 1h
Merged PRs (30d)
6

Description

Currently the underlying `GRPC::ActiveCall::Operation` is exposed to users directly for every method call and it is the only way to access some gRPC properties, like the `trailing_metadata`.

This could be confusing because it is low-level and access to the these properties (i.e metadata) depends on the timing of the call. For example, `trailing_metadata` is not available immediately for a streaming call but it is for unary calls (see #239).

Do we need a higher level API for this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.