The function getSubgraphClient uses deeply nested ternary operators, which makes the code difficult to read and maintain. Consider refactoring using a mapping object or a switch statement for improved readability and maintainability.
PR: #67
Comment: #67 (comment)
Requested by @rodrigopavezi