Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow all types, not just view to be resolved via namespace #80

Closed
wants to merge 1 commit into from

Conversation

stefanpenner
Copy link
Contributor

  • add tests (was having issues with the old ruby tooling, wont have time till after work to fix)

@stefanpenner
Copy link
Contributor Author

@rwjblue / @bcardarella r?

@bcardarella
Copy link
Contributor

@stefanpenner https://github.com/ember-cli/ember-resolver/blob/master/packages/ember-resolver/tests/core_test.js#L66-L112

ember-resolver can already look up any type in other namespaces. That specific line is intended for the alternate form of view lookups which I assumed was not necessary for other types based upon ember-resolvers existing test suite.

@stefanpenner
Copy link
Contributor Author

@bcardarella i'll add my scenario as an example tonight. I was also quite surprised.

@bcardarella
Copy link
Contributor

FWIW I've been using the namespace resolving with ember-validations and ember-cli-i18n without any issue

@rmachielse
Copy link
Contributor

@stefanpenner @bcardarella I've added a new pull request fixing this (#92)

@stefanpenner stefanpenner deleted the fix-namespaced-resolves-for-all-types branch July 8, 2015 09:00
kratiahuja pushed a commit to kratiahuja/ember-resolver that referenced this pull request Aug 5, 2016
add stats, and pedantic tests against said stats.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants