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

Use model name instead of factory in data adapter #11346

Merged
merged 1 commit into from
Jun 4, 2015

Conversation

teddyzeenny
Copy link
Contributor

A recent PR changed Ember Data to require passing model names to store methods instead of factories.

This passes the model name as a second argument to getRecords to stay backwards compatible.

@@ -93,6 +93,20 @@ export default EmberObject.extend({
attributeLimit: 3,

/**
* A change in Ember and Ember Data
* required string model names to be passed
* around instead of the actual factories.
Copy link
Member

Choose a reason for hiding this comment

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

Can you note the version? beta.18. It will make it easier to know when this should be stripped.

@mixonic
Copy link
Member

mixonic commented Jun 4, 2015

seems good

@teddyzeenny
Copy link
Contributor Author

Added the ED version.

Should I prefix the commit with [BUGFIX beta]? It's not really a bug fix but the sooner we can get it into a release the better.

rwjblue added a commit that referenced this pull request Jun 4, 2015
Use model name instead of factory in data adapter
@rwjblue rwjblue merged commit 502ae95 into emberjs:master Jun 4, 2015
@teddyzeenny teddyzeenny deleted the data-adapter branch June 12, 2015 11:59
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