graphql-cli / graphql-cli-prepare

Plugin for graphql-cli to bundle schemas and generate bindings
MIT License
33 stars 3 forks source link

Fix "method_complexity" issue in src/prepare.ts #5

Closed kbrandwijk closed 6 years ago

kbrandwijk commented 6 years ago

Function determineInputSchema has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/supergraphql/graphql-cli-prepare/src/prepare.ts#issue_5a45bf06a6edc00001000017