Open dkent600 opened 7 years ago
@dkent600 can you provide a PR to help improve the docs on this subject?
@Alexander-Taran At the moment I have very little extra time. But will keep this in mind! I would like to help.
@dkent600 Friendly ping :-)
Thanks for the ping. Sorry, as events have turned in my last two years, it is not going to be feasible for me to work this...
But you're referring to http://aurelia.io/docs/fundamentals/dependency-injection#resolvers ? Since I'm getting my hands dirty with Aurelia right now as well, I might pick this up then.
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
, andnew
).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?).