Commit d85f843
committed
Add Rails engine support to UrlHelpers compiler
Discover Rails engines during URL helper generation and register their engine-scoped path and URL helper modules.
Generate mounted helper RBIs for engine mount points, including typed routes proxy classes that include the engine helper modules. Add mounted helper mixins only for classes/modules that actually receive Rails' mounted helpers, and cover the new behavior with regression tests.1 parent a10eb05 commit d85f843
4 files changed
Lines changed: 972 additions & 9 deletions
File tree
- lib/tapioca/dsl/compilers
- manual
- sorbet/rbi/shims
- spec/tapioca/dsl/compilers
0 commit comments