holidayextras/jsonapi-server

View on GitHub
lib/graphQl/readTypes.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createReadType has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

readTypes.createReadType = (resourceConfig, otherTypes, allUnionTypes) => {
  const someType = {
    name: resourceConfig.resource,
    description: resourceConfig.description,
    args: filterArgs.generate(resourceConfig.resource),
Severity: Minor
Found in lib/graphQl/readTypes.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status