Closed PvtPuddles closed 2 months ago
I would like the GraphQL plugin to support having multiple operations in a single scratch file.
For example, I may have a file that looks like this:
query getUser ($id: Int!) { user(id: $userId) { id, name } } mutation updateUser ($id: Int!, $newName: String!){ updateUser(id: $userId, name: $newName) }
Ideally, I would like a run button in the gutter for each operation in the file.
run
Additionally, I would like a dropdown menu when I click the existing run button to select the desired operation, similar to the GraphQL Playground on the web.
I didn't realize that the query is selected according to where your mouse cursor is.
I will close the issue.
I would like the GraphQL plugin to support having multiple operations in a single scratch file.
For example, I may have a file that looks like this:
Ideally, I would like a
run
button in the gutter for each operation in the file.Additionally, I would like a dropdown menu when I click the existing
run
button to select the desired operation, similar to the GraphQL Playground on the web.