Skip to content

Refactor nested ternary operators in getSubgraphClientΒ #69

@coderabbitai

Description

@coderabbitai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    🎫 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions