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
Not all relationships are equal. In aggregation relationships:
often it makes sense to access child objects only via their parent object
when creating a child object (say, a comment to a post), it doesn't make sense to let the user to choose the parent to add to, that is implied when the user chose to add the child object
The Posts/comments example breaks those two rules. You can see all comments in a global list, and when adding a comment to a post, the user is required to choose the post they are adding the comment to.
The text was updated successfully, but these errors were encountered:
Not all relationships are equal. In aggregation relationships:
The Posts/comments example breaks those two rules. You can see all comments in a global list, and when adding a comment to a post, the user is required to choose the post they are adding the comment to.
The text was updated successfully, but these errors were encountered: