serializeHasMany (snapshot, json, relationship)
Defined in addon/serializers/embedded-records-mixin.js:240
Serializes hasMany relationships when it is configured as embedded objects. This example of a post model has many comments: Post = DS.Model.extend({
title: DS.attr('string'),
body: DS.attr('string'),
comments: DS.hasMany('comment')
});
Comment = DS.Model.extend({
body: DS.attr('string'),
post: DS.belongsTo('post')
});
Use a custom (type) serializer for the p