tapioca icon indicating copy to clipboard operation
tapioca copied to clipboard

The swiss army knife of RBI generation

Results 187 tapioca issues
Sort by recently updated
recently updated
newest added

### Motivation Reviewing how the compiler works and found a minor typo ### Implementation No details required ### Tests No details required

cla-needed

### Motivation You can manually type the `resolve` method of your graphql mutations but there's nothing guaranteeing the sig you added will match the types specified in your graphql definition....

We recently updated tapioca from 0.8.3 to 0.9.2 and it looks like the `bin/tapioca gem --verify` command we run on CI is now about 2x slower. It seems like it...

### Motivation On `shop-server`, we have an `abstract!` base class that derives from `FrozenRecord::Base`. Currently, this class doesn't have an RBI file generated, because the FrozenRecord Tapioca compiler is explicitly...

enhancement

Hello 👋🏼 I'm new to Sorbet and Tapioca and ran into this while adding them to a Rails project at work. When running `bin/tapioca dsl` followed by `bundle exec srb...

From the [Rails docs](https://api.rubyonrails.org/classes/ActiveRecord/Enum.html): > Declare an enum attribute where the values map to integers in the database, but can be queried by name. Example: > > ``` ruby >...

good first issue

on #947 tapioca skips the debug gem. however I'm seeing errors such as: ``` sorbet/rbi/gems/[email protected]:13320: Replace with Logger::Severity::DEBUG 13320 | include ::DEBUGGER__::TrapInterceptor ^^^^^^^^^^^^ ``` workaround: add to `todo.rbi` ``` module...

slack context: https://sorbet-ruby.slack.com/archives/CHN2L03NH/p1636647565028400 I'm trying to migrate our code base from using sorbet & sorbet-rails to using tapioca for all rbi generation. Currently tapioca always generates T.nilable belongs_to associations where...

### Motivation Closes #343 RBI files aren't being created for vendor gems & this PR solves that. ### Implementation I created a vendor gem using [this](https://fuzzyblog.io/blog/ruby/2014/08/22/how-to-vendor-gem-a-gem.html) blog. After that, I...

For this piece of [gem code](https://github.com/aws/aws-sdk-ruby/blob/6d651ec34327419fbb4905dd34d74dcc2a714791/gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb#L398-L402): ``` class DescribeCertificateRequest < Struct.new( :certificate_arn) SENSITIVE = [] include Aws::Structure end ``` We generate ``` # sorbet/rbi/gems/[email protected] class Aws::ACM::Types::DescribeCertificateRequest < ::Struct include ::Aws::Structure...

bug