Skip to content

Does objection inject dependencies automatically on creation? #110

@shdwp

Description

@shdwp

Maybe I'm missing something from the documentation, should it inject dependencies automatically?

Before object creation I setup default injector, create object by calling init, but it's dependencies show up only when I manually injectDependencies:.
This object is created by bindBlock:toClass: if that matters.

Is it the way it should be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions