staugaard / ember-resource

This project has moved. The canonical repository is now located at: https://github.com/zendesk/ember-resource
https://github.com/zendesk/ember-resource
Apache License 2.0
122 stars 27 forks source link

API Sideload Automation #43

Closed rapheld closed 9 years ago

rapheld commented 12 years ago

Automate the loading of sideload API data into an Ember.Resource instance.

rapheld commented 12 years ago

@shajith @staugaard @jamesarosen

rapheld commented 12 years ago

Could someone give this a review today...only a couple dozen lines of code excluding tests.

shajith commented 12 years ago

Sorry I left the comments on the dist file. Maybe we should split out the dist file update into a separate version bump update?

Also: Do verify interaction with ResourceCollections.

rapheld commented 12 years ago

RE: ResourceCollection

Are you referring to a case where the sideload is a collection of, objects like users off a ticket? I will look in to this.

rapheld commented 12 years ago

Also, I added a few lines of code to recurse over nested resources (such as found within account settings (e.g. Zd.currentAccount.settings.apps.get('use')

Here settings is a sideload that contains multiple resources such as apps

rapheld commented 9 years ago

OLD