Skip to content

Ensure signatures with thisArg or source observable are deprecated in predicates and projection functions #6143

@benlesh

Description

@benlesh

Just what it says. filter(fn, obj) is more readable as filter(fn.bind(obj)), because the former doesn't really tell us what obj is for. This exists in various parts of the library. We also have signatures where the source observable is provided in the predicate. That is supremely silly, as I can't even think of a use case there, and a simple closure would have worked (for example, every has both an thisArg and a source).

Metadata

Metadata

Assignees

Labels

7.xIssues and PRs for version 7.x

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions