Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "method_complexity" issue in TypeProvider #44

Open
paulofaria opened this issue Aug 4, 2020 · 0 comments
Open

Fix "method_complexity" issue in TypeProvider #44

paulofaria opened this issue Aug 4, 2020 · 0 comments

Comments

@paulofaria
Copy link
Member

paulofaria commented Aug 4, 2020

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 paulofaria changed the title Fix "method_complexity" issue in Sources/Graphiti/Definition/TypeProvider.swift Fix "method_complexity" issue in TypeProvider Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant