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

Schema integer converted to string #38

Open
davaya opened this issue Apr 29, 2022 · 0 comments
Open

Schema integer converted to string #38

davaya opened this issue Apr 29, 2022 · 0 comments

Comments

@davaya
Copy link

davaya commented Apr 29, 2022

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.

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

No branches or pull requests

1 participant