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

Refactor nested ternary operators in getSubgraphClient #69

Open
coderabbitai bot opened this issue Nov 18, 2024 · 0 comments
Open

Refactor nested ternary operators in getSubgraphClient #69

coderabbitai bot opened this issue Nov 18, 2024 · 0 comments
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎫 Backlog
Development

No branches or pull requests

1 participant