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.
After selecting a paged list, the explorer generates a correct query, e.g.,
But if the user edits "first" in the explorer, it gets translated to an incorrect string in the query, e.g.,
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.