Questions about prepend_mod automatic execution
prepend_mod
is a great invention that allows EE/JH to extend the functionality of CE in a separate directory.
When using it, we need to declare it explicitly, such as Project.prepend_mod
.
I can imagine the advantage of doing this, it can give a clear hint to the people reading the code, telling them that EE/JH may have an extension here.
However sometimes it is a bit inconvenient, especially for JH.
- Adding: It is often necessary to submit a MR to Upstream to add a line of
prepend_mod
; - Removing: If Upstream removes
prepend_mod
due to refactoring, this may break JH
Questions:
Does Upstream have any plans to make prepend_mod
automatically execute without explicit declaration?
Is performance the main reason? Are there other reasons?
Thanks!
/CC @godfat-gitlab
/CC @prajnamas @daveliu