Chore/cleanup filter attribute (#1500)

* refactor: 💡 Rename attributes called filter

* refactor: 💡 Remove adapter handling of old attribute errors

* refactor: 💡 Check for undefined in serializer instead of falsy
This commit is contained in:
Zhihe Li authored and GitHub committed 2022-12-02 13:44:11 -05:00
1 parent b1f14e5c62
commit f8429b15e9
11 files changed
+160 -53

No files matched your search

@@ -85,10 +85,10 @@ export default class GeneratedHostSetModel extends BaseModel {
})
filters;
// Azure specific
// Azure specific, comes in from API as "filter". This is to avoid collisions with filter
@attr('string', {
description: '',
isNestedAttribute: true,
})
filter;
filter_string;
}
@@ -50,7 +50,7 @@ export default class GeneratedManagedGroupModel extends BaseModel {
@attr('string', {
isNestedAttribute: true,
description:
'The boolean expression filter to use to determine membership.',
'The boolean expression filter to use to determine membership. Comes in from API as "filter".',
})
filter;
filter_string;
}