-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
meta: callback checking is inconsistent across lib #3536
Comments
We should prefer the latter but there are some cases where that breaks odd things, iirc. |
There is a legitimate reason to check for |
If that is the case would it not make sense to change all of the instances that do otherwise and mark it semver-major? |
My opinion would be yes, but I'm not sure about the semver-major. I can't think of anything that could break from such a change (although I could easily be wrong). |
I'm not sure this is worth pursuing, going to close this for now. |
Throughout the codebase there are two altering ways that callbacks are checked.
In some instances it is checked for truthyness
Where in others it is explicitly checked
Hopefully this is not opening too large a bike shed, but I was curious if their is a legitimate benefit to using both.
The text was updated successfully, but these errors were encountered: