Shopify/packwerk

Custom Zeitwerk Inflections

jcw- opened this issue · 1 comments

jcw- commented

Description
Is there interest in having support for custom zeitwerk inflections added? Is it just a matter of "writing the code" or is there known blockers for it? Considering submitting a PR but wanted to check on it first...

We don't think it is a good idea to support them as it would add complexity, though that could change if a lot of people ask for this feature. //cc: @exterm

However, it would be nice if we can also change the implementation of Packwerk so that it won't need to care about custom inflections (e.g. by using Sorbet or calling Module.const_source_location directly). We don't need this feature at Shopify right now, so none of that work seems worth it.