integreat-io/integreat

View on GitHub
src/Instance.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function setupServicesAndDispatch has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

function setupServicesAndDispatch(
  defs: Definitions,
  resources: Resources,
  schemas: Map<string, Schema>,
  middlewareForDispatch: Middleware[],
Severity: Minor
Found in src/Instance.ts - About 1 hr to fix

    Function setupServicesAndDispatch has 6 arguments (exceeds 5 allowed). Consider refactoring.
    Wontfix

      defs: Definitions,
      resources: Resources,
      schemas: Map<string, Schema>,
      middlewareForDispatch: Middleware[],
      middlewareForService: Middleware[],
    Severity: Minor
    Found in src/Instance.ts - About 35 mins to fix

      Function createServices has 6 arguments (exceeds 5 allowed). Consider refactoring.
      Wontfix

        defs: Definitions,
        resources: Resources,
        schemas: Map<string, Schema>,
        mapOptions: MapOptions,
        middlewareForService: Middleware[],
      Severity: Minor
      Found in src/Instance.ts - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status