aurelia / aurelia/documentation
give examples of how to use all of the DI resolvers
- Dominant language
- No language data
- Stars
- 104
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
Regarding this article: http://aurelia.io/hub.html#/doc/article/aurelia/dependency-injection/latest/dependency-injection-basics/6
It could be great to have examples of all the uses of DI resolvers, showing, for each resolver type, 1) how to declare the dependency and 2) how to instantiate a model that has a dependency with the resolver type (using `container.get`, and `new`).
It is like pulling teeth to figure out how to use the `Factory` resolver type (will I have to look at the Aurelia unit tests to find an example?).
Contributor guide
Research direction
Start with the linked dependency-injection-basics article and inspect the Aurelia unit tests, especially for the Factory resolver, to understand the existing usage patterns. Done means the article includes examples for every DI resolver type, showing both dependency declaration and model instantiation through container.get and new.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100