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

BelongsTo to many types of models

$
0
0

@pjcarly wrote:

Is it possible to create a BelongsTo relationship on the same field to many Different model types.

For example, I have a Model "attachment" which holds a file, this attachment is represented in the database with one table, and is attached to a single model. However it is model agnostic, it can be attached to any different type of model. My back-end (Drupal 8) allows this, I'm wondering if Ember does too?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles