hongbo-miao/hongbomiao.com

View on GitHub
api-node/src/graphQL/middlewares/graphQLMiddleware.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function graphQLMiddleware has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const graphQLMiddleware = graphqlHTTP((req, res, params) => {
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
  // @ts-ignore
  const { variables } = params;
  return {
Severity: Minor
Found in api-node/src/graphQL/middlewares/graphQLMiddleware.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status