# Traversing HasMany to HasMany from Both Sides and Sideloading

**URL:** <https://discuss.emberjs.com/t/traversing-hasmany-to-hasmany-from-both-sides-and-sideloading/4862>\
**Category:** Ember Data\
**Created:** [April 14, 2014, 1:19am UTC](https://discuss.emberjs.com/t/traversing-hasmany-to-hasmany-from-both-sides-and-sideloading/4862 "2014-04-14T01:19:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshuabremer](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/joshuabremer/32/15640_2.png) [@joshuabremer](https://discuss.emberjs.com/u/joshuabremer)\
**Post date:** [April 14, 2014, 1:19am UTC](https://discuss.emberjs.com/t/traversing-hasmany-to-hasmany-from-both-sides-and-sideloading/4862/1 "2014-04-14T01:19:10Z")

</div>

I’m using the fixture adapter and I’m loading both a schedule. I have events, and performers. When I traverse the relationship in the template, it only works when I sideload it on both fixtures.

I’m using Ember Data 1.0.0-beta.6 and Ember 1.4.0.

```
App.Event = DS.Model.extend({
    performers: DS.hasMany('performer', {embedded: 'always', async: true})
});
App.Performer = DS.Model.extend({
    events: DS.hasMany('event', {async: true})
});

App.Performer.FIXTURES = [{
"id":123,
"name":"John Doe"];

App.Event.FIXTURES = [{
"id":789,
"name":"Hollywood Bowl Opening Show",
"performers":[123]}];

// Event Route & Template

{{event.performers}} // This returns an array with John Doe

// Performer Route & Template

{{performer.events}} // This returns an empty array!

```

Why can’t I just load this from one side? Can Ember dynamically load these relationships once and then be able to reference them from both models?

---

<div class="post-metadata">

**Author:** ![mrpollo](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/mrpollo/32/10170_2.png) [@mrpollo](https://discuss.emberjs.com/u/mrpollo)\
**Post date:** [February 6, 2015, 3:36pm UTC](https://discuss.emberjs.com/t/traversing-hasmany-to-hasmany-from-both-sides-and-sideloading/4862/2 "2015-02-06T15:36:00Z")

</div>

I think you can’t have async and embedded on the same attr
