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

[FEATURE ember-no-double-extend] Remove feature flagging and cleanup. #15181

Merged
merged 3 commits into from Apr 27, 2017

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Apr 27, 2017

  • Remove FACTORY_FOR symbol. This was created as a way to internally use the new .factoryFor system, and not worry if no-double-extend feature was enabled or disabled.
  • Remove LOOKUP_FACTORY symbol. This was added as a "backdoor" to use container.lookupFactory (and its double extend semantics) without triggering a deprecation.

`FACTORY_FOR` was created as a way to internally use the new `.factoryFor`
system, and not worry if `no-double-extend` feature was enabled or disabled.

Now that `ember-no-double-extend` is removed, this can also be removed and
all codepaths that were calling it should now just use `.factoryFor` instead.
This was added as a "backdoor" to use `container.lookupFactory`
(and its double extend semantics) without triggering a deprecation.
@stefanpenner stefanpenner self-requested a review April 27, 2017 16:57
Copy link
Member

@stefanpenner stefanpenner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rwjblue rwjblue merged commit ece5069 into emberjs:master Apr 27, 2017
@rwjblue rwjblue deleted the cleanup-no-double-extend branch April 27, 2017 17:06
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.

None yet

2 participants