This commit is contained in:
the-djmaze 2022-11-28 14:07:26 +01:00
parent 81bec371bf
commit 4ebde92a06
10 changed files with 41 additions and 19 deletions

View file

@ -102,10 +102,10 @@ export class AbstractModel {
case 'string':
this[key] = typeCast(this[key], value);
break;
// fall through
case 'undefined':
default:
this[key] = value;
// fall through
default:
// console.log((typeof this[key])+' '+(model.name)+'.'+key+' not revived');
}
} catch (e) {