I can only see tests for side loading objects, but I can’t find tests for embedded objects, I looked at the rest_adapter_test.js for bot unit and integration testing, all that I could find was about side loading.
Am I looking at the wrong test files ?
nevermind I found it embedded_loading_test.js
Thank you!
Ok, I thought I was going to find something new there, I was already using
Adapter.map(Post, { comments: { embedded: 'load' } });
something like that but with my own model, the thing is that when I try to loop through the “comments” ember data just breaks, in this file:line:
ember-data.js:2522
in the
materializeRecord
at that point “type” is undefined, and also clientId is undefined, and id is also undefined, is this(or was) an known issue ?