-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Ember 1.13.10 get('content') vs toArrray() #111
Comments
Good find. It could be updated to do a ember data version check, then do the appropriate action. |
I tried returning
I saw emberjs/data#3530, and tried
I don't understand Ember Data internals well enough to tell what should be happening. http://emberjs.com/api/data/classes/DS.RecordArray.html says "The record array materializes records as needed when they are retrieved for the first time.", but that doesn't seem to be happening. Am I missing something obvious for getting this working with 1.13.10? |
…1.0.0-beta.14 to get it working with 1.13.10 for adopted-ember-addons#111 (comment)
I upgraded to the 0.2.1 release and now it's working fine (with Ember 1.13.10 and Ember Data 1.13.15) |
https://github.com/hhff/ember-infinity/blob/master/addon/mixins/route.js#L315 calls
newObjects.get('content')
to add new objects. But in Ember 1.13.10, this returns an array ofInternalModel
objects, not model classes.From emberjs/data#3604, it looks like this should be
newObjects.toArray()
instead. I don't know the history, so it's hard to tell what that might break. Suggestions?The text was updated successfully, but these errors were encountered: