makeomatic/mservice

View on GitHub
packages/plugin-router/src/lifecycle/handlers/validate-response.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function validateResponseHandler has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default (config?: ValidateResponseConfig) => async function validateResponseHandler(
  this: Microfleet,
  request: ServiceRequest,
): Promise<void> {
  if (config === undefined) {
Severity: Minor
Found in packages/plugin-router/src/lifecycle/handlers/validate-response.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status