Skip to content

Remove _lookupFactory support.#15193

Merged
rwjblue merged 3 commits intoemberjs:masterfrom
rwjblue:remove-lookup-factory
May 1, 2017
Merged

Remove _lookupFactory support.#15193
rwjblue merged 3 commits intoemberjs:masterfrom
rwjblue:remove-lookup-factory

Conversation

@rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 30, 2017

This was deprecated in Ember 2.12 (which was an LTS version).

This removes owner._lookupFactory APIs completely. It also includes
factory injections, and factory type injections.

@rwjblue
Copy link
Member Author

rwjblue commented Apr 30, 2017

This is in a similar area but independent of #15192.

@rwjblue
Copy link
Member Author

rwjblue commented Apr 30, 2017

Please note that there is one commit that is actually a BUGFIX beta (but may need to be BUGFIX lts). It turns out that we did not validate things like Ember.inject.service when owner.factoryFor was used (this is because we were only invoking _onLookup in the lookupFactory path.

@rwjblue rwjblue force-pushed the remove-lookup-factory branch 2 times, most recently from 42bdfa1 to c6cd7c6 Compare April 30, 2017 20:40
@stefanpenner
Copy link
Member

@rwjblue thanks for the cleanup!

@homu
Copy link
Contributor

homu commented May 1, 2017

☔ The latest upstream changes (presumably #15192) made this pull request unmergeable. Please resolve the merge conflicts.

Robert Jackson added 3 commits May 1, 2017 13:45
@rwjblue rwjblue force-pushed the remove-lookup-factory branch from c6cd7c6 to 579f857 Compare May 1, 2017 17:45
@rwjblue rwjblue merged commit 85cd220 into emberjs:master May 1, 2017
@rwjblue rwjblue deleted the remove-lookup-factory branch May 1, 2017 18:13
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