Dependencies between engines
See original GitHub issueWe have the following architecture:
- A core ember-cli app
- Multiple ember-engines, let’s name them A and B
Basically engine A has an dependency to engine B due the fact that A requires a model which is declared in B.
Unfortunately this doesn’t seem to work (model not found
).
Is there any way how engine A can access a model of engine B? Maybe through declaring this dependency?
This is urgent, so we’re thankful for any advice.
Thanks for your time and work!
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Create dependencies between network objects automatically
Auto Dependency calculates node-to-node dependencies based on topology connections. First it determines the root node of each polling engine or cluster of ...
Read more >Dependency Engine | Apache MXNet
A dependency engine is a library that takes a sequence of operations and schedules them according to the dependency pattern, potentially in parallel....
Read more >An introduction to cross dependencies - IBM
A cross dependency is, from a logical point of view, a dependency for a local job on a job instance that is scheduled...
Read more >The dependencies of engine parameters on average effective ...
Download scientific diagram | The dependencies of engine parameters on average effective pressure when three cylinders are switched off (n = 1800 rpm)....
Read more >Engine Dependencies | CDP Private Cloud
Even though experiments and models are created within the scope of a project, the engines they use are completely isolated from those used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can use ember-cli-mirage in engines. I created an addon for my app, e.g.
my-app-test-helpers
, including the mirage definitions. You can then hook them up in each of your engines like this: https://github.com/samselikoff/ember-cli-mirage/issues/920This way, I have acceptance tests in each engine for the application parts of this engine, but the mock server is the same for all the engines (as is the real API server)
The
room
model must be in the application because you are associating it with its model. Then all you need to do is pass the store to any engines that need to usehouse
androom
.