Open justinsumida opened 3 months ago
This can also be reproduced on https://graphql.github.io/swapi-graphql
How I set it up: Create two queries something like this:
Refresh the page... I am unable to run "anotherOne"...all I can do is run "allFilms"
Better yet... if I remove "allFilms" I see this...
Taking a look at what GraphQL receives:
The operation name does not match what is happening. So I see a couple of problems:
Is there an existing issue for this?
Current Behavior
Using the latest of GraphiQL from CDN, having multiple queries works on initial page load. Refreshing the browser ignores other queries/mutations and runs the first query. I am unable to select any other query/mutation on the play button:
As you can see, I have two different queries. When pressing the play button (or Control + Enter) I get the error. The query 'search' was originally the first query on the editor, but I removed it.
Expected Behavior
Whatever queries are on the editor should appear as options on the play button.
Steps To Reproduce
Environment
react
Version: 16.8.3graphql
Version: GraphQL Java 21.3Anything else?
No response