pixelhandler / ember-jsonapi-resources

Lightweight persistence for an Ember CLI app following the JSON API 1.0 spec

Home Page:https://pixelhandler.github.io/ember-jsonapi-resources/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resource should use only hasOne / hasMany; not hasRelated too

pixelhandler opened this issue · comments

No need to use hasRelated() in addition to hasOne() hasMany(), just setup the relationships object during init.