lib/data/model.ts
Model
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export default class Model extends DenaliObject {
/**
* Marks the Model as an abstract base model, so ORM adapters can know not to
* create tables or other supporting infrastructure.
Function _augmentWithSchemaAccessors
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static _augmentWithSchemaAccessors() {
if ((<any>this.prototype)[augmentedWithAccessors]) {
return;
}
(<any>this.prototype)[augmentedWithAccessors] = true;