Allow to prevent pods lookup of components
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by tracing how the resolver chooses app/my-route/template.hbs when is invoked, and compare it with app/components/my-route/template.hbs. Clarify whether the opt-out should apply only to co-located components or also to pods syntax; done means a documented, testable way to prevent the unintended route-template lookup.
Written by the indexing model from the issue text.
Description
Follow up on: https://github.com/emberjs/ember.js/issues/18452
Basically, as of now, if you are using pods layout and have a route like this:
app/my-route/template.hbs
It will always take this template when invoking a <MyRoute /> component, even if there is a more "specific" component defined somewhere (e.g. app/components/my-route/template.hbs).
As suggested by @rwjblue , it would be great if you could somehow deactivate this behavior. Either just for the new co-located components, or also for the above pods syntax. As it basically means that you cannot have a component with the same name as any route.
- Dominant language
- JavaScript
- Stars
- 87
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 ember-cli/ember-resolver
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ember-cli/ember-resolver#983 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ember-cli/ember-resolver#629 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ember-cli/ember-resolver#132 · 5 comments ·
All issues in ember-cli/ember-resolver
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
PedestrianDynamics/pyFDS-Evac#476 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aiko-chan-ai/DiscordBotClient#380 ·
-
Offisielle trærOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 3 days
-
Add: Atlas TVOpenchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 4 days