open-vault/ui/app/serializers/identity/entity.js

11 lines
273 B
JavaScript
Raw Normal View History

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