Graphiti icon indicating copy to clipboard operation
Graphiti copied to clipboard

Fix "method_complexity" issue in TypeProvider

Open paulofaria opened this issue 5 years ago • 0 comments

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

paulofaria avatar Aug 04 '20 01:08 paulofaria