Skip to content

Injection: default should be all injections #91

@joshjung

Description

@joshjung

If a function is provided to Ringa that has no arguments, the injection mechanism should pass every available injection in a single object as the only argument. This will allow for code like this:

controller.addListener('event', [
...
console.log,
...
]);

This will console log out every injection at that point, making debugging much easier.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions