Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Should I always specify both sides of a relationship?

$
0
0

@mrjerome wrote:

For example, if I have a post model and a comment model I would normally say that a post hasMany(‘comment’) and a comment belongsTo(‘post’).

Are there situations where I would only specify the hasMany or the belongsTo?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles