
Loading…
`notifyPath` doesn't return as its documentation says #1966
zacharytamas
commented
Owner
kevinpschaaf
commented
PR: #1991
zacharytamas
commented
Thanks @kevinpschaaf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been running into lots of problems lately and have been trying to use
notifyPathto test things and have found that it actually doesn't behave like its documentation says.The documentation says that it returns
trueif the notification actually happens but if you look at the source code, it never actually returns anything and is always undefined.This isn't very helpful from a debugging standpoint and is also inconsistent with what the API Reference says (because this is auto-generated from the source code comment which is incorrect).
It would be nice if we could get a
return trueas the documentation states. In my case, my calls tonotifyPathwhere not actually causing events but it was hard to determine that.