arthurnn / arthurnn/twirp-ruby

Any plans to introduce client interceptors?

Open
#107 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Ruby
Stars
163
Forks
61
PR merge metrics
No merged PRs in 30d

Description

The Twirp canonical implementation supports both [server and client interceptors](https://twitchtv.github.io/twirp/docs/hooks.html). This allows us to do similar things for both clients and servers, such as emit specific metrics based on type of request. In the Ruby stack, this facility exists only for the server side. Are there any plans to introduce client interceptors as well?

As a side note, what twirp-ruby calls service hook is actually server interceptor in the canonical lingo. Any reason for this naming choice?

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked Twirp hooks documentation and inspecting twirp-ruby’s existing server-side service hook implementation. The issue names no files or tests, so the scope and API for client interceptors would need to be established first; completion would require an agreed client-interceptor facility and clarification of the service-hook naming.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.