refactor: Refactor seralizeScopeID from models to serializers

This commit is contained in:
Susmitha Girumala committed 2020-09-21 18:23:32 -04:00
1 parent 1a565f9097
commit 0a1eafe55e
11 files changed
+63 -30

No files matched your search

+1 -7
View File
@@ -3,16 +3,10 @@ import { fragment } from 'ember-data-model-fragments/attributes';
export default class HostModel extends GeneratedHostModel {
// =properties
/**
* @type {boolean}
*/
serializeScopeID = false;
/**
* Attributes of this resource, if any, represented as a JSON fragment.
* @type {FragmentHostAttributesModel}
*/
@fragment('fragment-host-attributes', { defaultValue: {} }) attributes;
}