Skip to content

Fix "method_complexity" issue in TypeProvider #44

Open

Description

@paulofaria

Function getGraphQLType has a Cognitive Complexity of 8 (exceeds 5 allowed). We should break this function into smaller functions.

https://codeclimate.com/github/GraphQLSwift/Graphiti/Sources/Graphiti/Definition/TypeProvider.swift#issue_5f28b20e356d980001000033

Activity

  1. changed the title [-]Fix "method_complexity" issue in Sources/Graphiti/Definition/TypeProvider.swift[/-] [+]Fix "method_complexity" issue in TypeProvider[/+] on Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions