dashpresshq/dashpress

View on GitHub
src/backend/schema/schema.service.ts

Summary

Maintainability
A
2 hrs
Test Coverage
B
84%

Function formatIntrospectData has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private formatIntrospectData(rawEntity: Entity[]): IDBSchema[] {
    const dbSchema = rawEntity
      .filter(({ name }) => !name.startsWith("dashpress"))
      .map((entity) => {
        return {
Severity: Minor
Found in src/backend/schema/schema.service.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status