src/data/DataSerializerUtils.ts
Function createMetadata
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static createMetadata(proto: IndexedObject): ObjectMetadata {
if (Object.prototype.hasOwnProperty.call(proto, this.META_FIELD)) {
return proto[this.META_FIELD];
}
// Target has no JsonObjectMetadata associated with it yet, create it now.