open-vault/ui/app/serializers/identity/entity.js
Matthew Irish 93e827fe81
UI - test console cleanup (#6674)
* add ember-cli-deprecation-workflow

* this._router in routes to quiet deprecation

* mark style bindings as htmlSafe strings

* simplify authenticate service hook with async fn

* don't serialize aliases relationship on entities

* update ember-test-selectors so we can use supportsDataTestProperties

* allow duplicate flash messages because we don't want a log warning

* update ember-concurrency for better error message

* use ember-qunit instead of ember-cli-qunit

* update ember-cli-page-object so we're not using a beta lol

* ignore test-helper jquery context warning

* fix race condition in pgp-file test by using ember-concurrency task and test waiter

* await cli commands

* fail tests if async leakage is detected

* update auth-jwt component and tests to be simpler

* fix linting

* review feedback
2019-05-02 22:20:28 -05:00

11 lines
273 B
JavaScript

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