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

Deprecate unused initializers #4657

Merged
merged 1 commit into from
Feb 3, 2017
Merged

Deprecate unused initializers #4657

merged 1 commit into from
Feb 3, 2017

Conversation

bmac
Copy link
Member

@bmac bmac commented Nov 15, 2016

@bmac bmac force-pushed the issue-4093 branch 2 times, most recently from ed6e092 to 1ab73b4 Compare November 15, 2016 20:37
@stefanpenner
Copy link
Member

👍

@@ -10,5 +10,5 @@ import Ember from 'ember';
export default {
name: 'data-adapter',
before: 'store',
initialize: Ember.K
Copy link
Contributor

Choose a reason for hiding this comment

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

Rebase needed?

@bmac
Copy link
Member Author

bmac commented Nov 21, 2016

rebased @locks




let deprecatedInitializerNames = ['data-adapter', 'injectStore', 'transforms', 'store'];
Copy link
Member Author

Choose a reason for hiding this comment

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

store should not be included in this list.

Copy link
Member Author

Choose a reason for hiding this comment

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

Nevermind. This code is correct. I got store confused with the ember-data initializer.

@bmac
Copy link
Member Author

bmac commented Nov 22, 2016

I was given feedback that this should go through an RFC so there is an official document on why this has been deprecated.

emberjs/rfcs#181

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.

5 participants