Open dominicgoulet opened 1 year ago
Ran into the same issue. Has anyone been able to find a workaround?
@xjose97x Yes, the workaround is just to not use sorbet-rails. You can get everything working with just sorbet. I ended up using sorbet-rails only for TypedParams, but you could definitely just extract that bit.
Describe the bug: On a freshly created Rails 7 API, when I setup Sorbet and Sorbet-Rails, there are a lot of errors detected by
srb tc
related to the generated RBI files:Steps to reproduce: Use this gemfile on a freshly created Rails 7 API:
Expected behavior: No errors should be displayed.
Versions: