Closed TBK145 closed 3 years ago
Thanks @TBK145. I tend to agree with your reasoning. We've discussed the position of alias
in the past but not require
as far as I remember.
I'd appreciate hearing any counter-arguments though.
There's an issue in the PR: since you changed the module attributes order list, you also have to update the example module below to reflect the changes.
I'd like to accept this change as it supports the same conclusion of #141 to keep aliases themselves from being used in module directives.
By switching the order of
require
andalias
it forces you to write the full module when requiring. This makes it more explicit which module is required.