Skip to content

Schema integer converted to string #38

@davaya

Description

@davaya

After selecting a paged list, the explorer generates a correct query, e.g.,

repositories(orderBy: {field: CREATED_AT, direction: DESC}, first: 10)

But if the user edits "first" in the explorer, it gets translated to an incorrect string in the query, e.g.,

repositories(orderBy: {field: CREATED_AT, direction: DESC}, first: "20")

which generates an "expected type int" error in the query panel and a runtime error when the query is executed.

Expected Behavior:
When typing an integer value in the Explorer pane, generate an integer value in the query pane.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions