graphiql-app icon indicating copy to clipboard operation
graphiql-app copied to clipboard

Changing URL clears the current query

Open intellix opened this issue 7 years ago • 0 comments

We're passing some data through a query param like:

  • http://localhost:8888/graphql?brand=pepsi
  • http://localhost:8888/graphql?brand=cocacola

When I change the brand in my URL, my long written query and all of it's variables disappear :( It's unexpected and frustrating cause I lose all of my progress. I feel like having to manually delete the query upon changing the URL is less of an evil

intellix avatar Oct 16 '17 10:10 intellix