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

Best way to load belongsTo from owner when ID not present

$
0
0

@gattra wrote:

I am trying to load a model, likedList from the owner of that model, user. In other words, likedList belongs to user. The only problem is, the user model doesn't have the id of the likedList, instead likedList has the user_id.

What is the best way to load this from the server? A custom endpoint that finds it based on the user_id?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles