jelhan/croodle

View on GitHub
mirage/serializers/application.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function normalize has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  normalize(payload) {
    let [type] = Object.keys(payload);
    let attrs = payload[type];
    let { belongsToAssociations, hasManyAssociations } =
      this.registry.schema._registry[type].class.prototype;
Severity: Major
Found in mirage/serializers/application.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status