@shunchu wrote:
Is there a way to programmatically determine the relationships of an arbitrary ember-data model?
For example:
# basket import DS from 'ember-data'; export default DS.Model.extend({ fruits: DS.hasMany('fruit'); });
Is there an Ember way to get to
fruits
without knowing the model wasbasket
beforehand?
Posts: 1
Participants: 1