in lib/config/model-config.ts [63:75]
constructor(config:IEntityConfigBase<TEntity, TRawData, TId>, public entityConstructor:DataEntityType<TEntity, TRawData, TId>){
if (config.values) {
config.values = config.values.map(valueConfig => new entityConstructor(valueConfig));
Immutability.freeze(config.values);
}
Object.assign(this, config);
this._supportedEntityGetMethodsSet = Object.freeze(new Set(config.supportedEntityGetMethods
? config.supportedEntityGetMethods
: [EntityGetMethod.getItem, EntityGetMethod.query]
));
}