You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation of eachRelationship states that the type attribute in the descriptor is of type DS.Model. With Ember.Data beta 19 the type changed to be a string.
Unfortunately this is a breaking change. Due to some internal refactors, the eachRelationship method must return strings because it can be called if it isn't looked up through the store. So docs need to be fixed and you'll have to update your code with something like the following:
The documentation of eachRelationship states that the type attribute in the descriptor is of type DS.Model. With Ember.Data beta 19 the type changed to be a string.
The JS Bin for this issue can be found here
The text was updated successfully, but these errors were encountered: