Skip to content

notifyPath doesn't return as its documentation says #1966

Closed
@zacharytamas

Description

I've been running into lots of problems lately and have been trying to use notifyPath to test things and have found that it actually doesn't behave like its documentation says.

The documentation says that it returns true if 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 true as the documentation states. In my case, my calls to notifyPath where not actually causing events but it was hard to determine that.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions