Get Routable EngineInstance
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript, typescript
- Domain
- devtools
Research direction
Start at the EDB class and inspect the router:main lookup, _routerMicrolib.getRoute, and getOwner calls shown in the issue. Trace how a mount point resolves to an engine route; done means getEngineInstanceForRoute returns the corresponding EngineInstance for the requested mount point. The payload names no test file.
Written by the indexing model from the issue text.
Description
$edb.getEngineInstanceForRoute('some.mount.point') => Promise<EngineInstance>
class EDB {
async getEngineInstanceForRoute(mountPoint: string): Promise<EngineInstance> {
const router = this.owner.lookup('router:main');
const engineApplicationRoute = await router._routerMicrolib.getRoute(mountPoint)
const engineInstance = getOwner(engineApplicationRoute);
return engineInstance;
}
}
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from emberjs/ember-debug
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
emberjs/ember-debug#11 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
emberjs/ember-debug#5 · 2 reactions ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
emberjs/ember-debug#4 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
emberjs/ember-debug#2 · 2 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
emberjs/ember-debug#1 · 2 comments ·
All issues in emberjs/ember-debug
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100