-
-
Notifications
You must be signed in to change notification settings - Fork 22.8k
Add a note about _notification()
being multilevel
#107564
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
Conversation
It's not the only one, is it? Also, this information feels more pertinent to mention in detail in |
I don't know any other method like that. Even
To me this odd behavior is useful, because you can override this method without worrying that some extending script will replace its behavior, which gave me idea to add the note. Maybe |
Not denying the usefulness of this behavior at all. In fact I know someone that used this to explicitly avoid having to write Rather, it should probably just mention that this behaviour exists and it's an exception. |
39ddd3f
to
c63adb1
Compare
c63adb1
to
a96c702
Compare
I just remembered that the property methods are multilevel in C++. I tested them and Should they get a similar note? I wonder if we could mark these methods as |
Probably, yeah. The note itself could be made more generic for the sake of maintainability.
I think a special qualifier would need extra scrutiny as that would require a new method flag (unlike #107130).
I swear this has been discussed in the past, but I can't find an issue. Something about how some methods are still "multilevel" despite the transition to Godot |
Something like
?
Not really, it could be added manually, like deprecated flags. I know it's not very maintainable, but we have very few such methods and I think we didn't add one since 3.0, if not longer. |
This PR is good as is, but yeah, this oddity should be mentioned in those respective methods. Maybe asking @vnen for details later? Only personal gripe is that with the current wording it may be implied that only |
That still involves |
a96c702
to
b103f2d
Compare
Thanks! |
No description provided.