api-node/src/graphQL/middlewares/graphQLMiddleware.ts
Function graphQLMiddleware
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const graphQLMiddleware = graphqlHTTP((req, res, params) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
const { variables } = params;
return {