lib/tapioca/loaders/loader.rb in tapioca-0.16.0 vs lib/tapioca/loaders/loader.rb in tapioca-0.16.1

- old
+ new

@@ -228,10 +228,10 @@ # Rails 7.2 renamed `eager_load_paths` to `all_eager_load_paths`, which maintains the same original functionality. # The `eager_load_paths` method still exists, but doesn't return all paths anymore and causes Tapioca to miss some # engine paths. The following commit is the change: # https://github.com/rails/rails/commit/ebfca905db14020589c22e6937382e6f8f687664 - sig { params(engine: T.class_of(Rails::Engine)).returns(T::Array[String]) } + T::Sig::WithoutRuntime.sig { params(engine: T.class_of(Rails::Engine)).returns(T::Array[String]) } def eager_load_paths(engine) config = engine.config (config.respond_to?(:all_eager_load_paths) && config.all_eager_load_paths) || config.eager_load_paths end