ProtectedInterceptors
ProtectedInterceptors copied to clipboard
[discussion] is it really that bad?
I am wondering ... if I extend a class and use a preference, I am able to and depending the protected interface.
So it is not much worse to use interceptors for that - of cause I risk upgradability if the interface changes, but I do so as well when I use preferences but cause new problems, that I can not multiple times extend the same class.
I like your experiment :-)
Compared to a preference, it probably isn't so bad... Ideally you want neither this module nor preferences for modifying core behavior. I guess preferences serve another purpose when used together with interfaces.
It's also about denying responsibility for whatever happens when people use it. :man_shrugging: