Skip to content

Better Sample #3

@timrijckaert

Description

@timrijckaert

Hi Bodo,

Thanks for this repository it helped me to get me going.
I wanted to expand your sample some more so I forked yours.

Goal

I added a fake dependency on each level of the app.
Scopes in the app include:

Application -> Activity -> Controller

And the related dependencies:

ApplicationDep, ActivityDep and ControllerDep

  • The Controller should have access to the ApplicationDep, ActivityDep and the ControllerDep
  • The Activity should be able to inject the ApplicationDep and the ActivityDep
  • The Application should solely be able to inject the ApplicationDep

You can check out my fork or I could make a PR.
I have also upped the version of the dependencies.

Thanks

Tim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions