2018-04-03 14:16:57 +00:00
|
|
|
import DS from 'ember-data';
|
2018-05-30 02:56:15 +00:00
|
|
|
import IdentitySerializer from './_base';
|
2018-04-03 14:16:57 +00:00
|
|
|
|
2018-05-30 02:56:15 +00:00
|
|
|
export default IdentitySerializer.extend(DS.EmbeddedRecordsMixin, {
|
2019-05-03 03:20:28 +00:00
|
|
|
// we don't need to serialize relationships here
|
|
|
|
serializeHasMany() {},
|
2018-04-03 14:16:57 +00:00
|
|
|
attrs: {
|
|
|
|
aliases: { embedded: 'always' },
|
|
|
|
},
|
|
|
|
});
|