arthurnn / arthurnn/twirp-ruby

Sorbet / Tapioca DSL support

Open
#130 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
163
Forks
61
PR merge metrics
No merged PRs in 30d

Description

I've opened https://github.com/Shopify/tapioca/issues/2235 but the core issue is that we lose the type information from the GRPC DSL that tapioca provides when the twirp layer is added, so unfortunately calls to `twirp-ruby` in ruby apps with Sorbet do not get the benefit of type information, as the twirp layer adds a lay of indirection which leads to the interfaces all being untyped.

It would be amazing if it were possible to provide this somehow.

Contributor guide

Open the contributing guide

Research direction

Start with the linked Shopify/tapioca#2235 issue and trace how the Twirp layer currently exposes service interfaces to Ruby callers. No file or test is named; done means Sorbet/Tapioca retains the gRPC DSL type information through the Twirp layer, with the behavior covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, backend
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.