This message was imported from the Ruby/Rails Modularity Slack server. Find more info in the import thread.
Message originally sent by slack user U71TN2WF04X
Hey I don’t know where to ask this so I’ll put it here.
I created a PR to the rubyatscale/packs gem, the idea is to support more depth in the definition of packs.
The problem: when defining a pack, if it is 3-levels or more, it is not defined.
packs/my_pack # good
packs/domain/other_pack # good
packs/big_domain/sub_domain/last_pack # bad
In my PR I propose to remove this constraint and allow multiple depth level (more than 2) packs
Only thing I wanted to caution you is if you’re using other tools in the toolchain (e.g. rubocop-packs), it’s possible that certain tools may not work for packs that are not in the default pack locations. e.g. Packs/RootNamespaceIsPackName may fail, bin/packs move packs/a/b/c packs/a may not work.