You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently started a new Rails 6 project with Ruby Sorbet (https://sorbet.org/). However, I haven't been able to generate RBI (Ruby Interface files) for Devise library controllers (Sessions Controller, Registrations Controller). The only automatically .rbi files generated are for Devise::Models::Authenticatable, Devise::Mailer and Devise::FailureApp
For generating these files I've been using Tapioca (https://github.com/Shopify/tapioca), which has the option of manually generating them (shims) but it's not ideal. So my questions are:
Is Sorbet fully supported by Devise?
Are there any samples of manually generated .rbi files for static type check support?
Expected behavior
Tapioca should be able to generated .rbi files for Devise controllers
The text was updated successfully, but these errors were encountered:
Environment
Current behavior
I've recently started a new Rails 6 project with Ruby Sorbet (https://sorbet.org/). However, I haven't been able to generate RBI (Ruby Interface files) for Devise library controllers (Sessions Controller, Registrations Controller). The only automatically .rbi files generated are for
Devise::Models::Authenticatable
,Devise::Mailer
andDevise::FailureApp
For generating these files I've been using Tapioca (https://github.com/Shopify/tapioca), which has the option of manually generating them (shims) but it's not ideal. So my questions are:
Expected behavior
Tapioca should be able to generated .rbi files for Devise controllers
The text was updated successfully, but these errors were encountered: