-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
&run does not work with all hooks anymore since refactoring #16908
Comments
The problem might be in the code that invokes the hook. This is not an issue specific to the hook system, but rather to the hook caller. Need to dig into the users code. |
Ok problem is here: Line 159 in 446f628
"run" is always true. But even if we passed by reference, the other "new" hook system doesn't have a way to cancel the hook AFAIK. @icewind1991 what do you think ? |
So basically this also affects all the other hooks below as well and we're doomed anyways? 🙈 |
imo having hooks cancel the operation was a terrible design decision |
Any update ? Fixing the documentation might be safer... |
#16908 (comment) maybe, but we are where we are for now. @carlaschroder document? |
I'm happy to proofread, but this looks like something a real developer needs to write. |
@PVince81 @LukasReschke suggestions? |
Regression since a longer time, as described at #16750 (comment):
And in
MyClass
do something like:Option 1: Fix it.
Option 2: Fix the documentation in the user class.
Thoughts?
The text was updated successfully, but these errors were encountered: