Filterable attributes, Int64 entity

This commit is contained in:
barsdeveloper
2023-01-03 22:53:17 +01:00
parent f4ebfa488a
commit a16481194c
21 changed files with 401 additions and 214 deletions

View File

@@ -93,10 +93,10 @@ export default class ISerializer {
const attributes = /** @type {EntityConstructor} */(object.constructor).attributes
const keys = attributes
? Utility.mergeArrays(
Object.getOwnPropertyNames(attributes),
Object.getOwnPropertyNames(object)
Object.keys(attributes),
Object.keys(object)
)
: Object.getOwnPropertyNames(object)
: Object.keys(object)
for (const property of keys) {
fullKey[last] = property
const value = object[property]