Comments (1)
The container will auto-register services if you call get
and there’s not a prior registration. However, the fact that the testing helper is able to access them from a container instance that doesn’t appear to be related is odd. I know how this is working (it’s kind of a bad design we have in the framework that we’ve eliminated for vNext) but that doesn’t make it particularly easy to understand.
@bigopon @zewa666 What do you guys think? Can we make some improvement here? Intuitively, one would expect the StageComponent API to receive an instance of the custom container. I can’t recall if we have a way to do that or not though. If we do, it would probably be clearer if we updated this example to use that.
from documentation.
Related Issues (20)
- Binding basics doc typo HOT 2
- Mistakes in documentation in fundamentals chapter using webpack HOT 5
- Documentation for Observing Collections shows Typescript language elements in EsNext View HOT 1
- Dependency injection section: explicitly mention ordering of constructor params HOT 4
- Add links to Push State requires server side support documentation HOT 3
- Local Storage middleware include example of when to register it HOT 5
- Aurelia validation docs - configuration in .json still needed? HOT 1
- Testing Components is out of sync with latest Aurelia HOT 5
- Testing Components > Manually handling lifecycle is not complete HOT 6
- Testing the Aurelia Skeleton Navigation App no longer works HOT 1
- Troubleshooting pages HOT 1
- Minor typo in Contact Manager tutorial HOT 4
- Improving vCurrent docs HOT 9
- idiomatic Aurelia
- Point from HTTP-Client docs to DI
- Remove reference to, or even warn about, using immer and binding with aurelia-store HOT 1
- Contact Manager Tut: Building the Application Shell: Minor issues
- Assets file not working with Chrome HOT 2
- Tutorial contains broken link to App Configuration and Startup HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documentation.