Closed steffann closed 10 years ago
Thanks!!
I had to revert the PR because some tests were failing with 'undefined' is not an object (evaluating 'get(record, 'data.' + relationship.key).map')
. I'll try to have a look when I can.
I have also repaired the Travis CI script. If you try to recreate the PR you should see the errors in Github if you cannot run them locally.
SerializeHasMany doesn't handle promises. Getting the IDs from
data
avoids the promise and also avoids having to fetch the related records before being able to save a reference to them.