Closed alex-tan closed 1 year ago
Hey @alex-tan,
Since https://github.com/Shopify/tapioca/pull/1611, most of the content for controllers have been move back to the super class which means a lot of the previously generated files are now useless.
Do you get any new type errors related to this change?
Ah ok good to know. The only ones I saw were because we had controllers that inherited from Devise controllers and those classes are no longer in the RBIs, however if that's the direction it's easy enough for us to add shims for them.
The only ones I saw were because we had controllers that inherited from Devise controllers and those classes are no longer in the RBIs
This may be a regression though. Do you mind opening another issue with an example please? 🙏
@Morriar Are you looking for something like a minimal reproducible example?
Ideally, yes. Thanks!
This includes Devise, ActiveAdmin in
sorbet/rbi/dsl
and rbis for controllers in our app/ directory after runningtapioca dsl
.Rails: 7.0.7 Ruby: 3.2.2
This is after upgrading from 0.11.8 on two projects. Any reason this would be expected behavior?