ebryn / ember-model

A lightweight model library for Ember.js
MIT License
524 stars 159 forks source link

When using store API, models can't mix styles of defining relationship types #373

Open ebryn opened 10 years ago

ebryn commented 10 years ago

This doesn't work, for example:

  App.Comment = Ember.Model.extend({
    article: Ember.belongsTo('article', {embedded: false}),
    article2: Ember.belongsTo(App.Article, {embedded: false})
  });
bguiz commented 10 years ago

This might be related: https://github.com/ebryn/ember-model/issues/380