You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running a server that has two GraphQL/GraphiQL endpoints. Because GraphiQL seems to be saving UI state in local storage, the storage is namespaced to the origin level, and the UI persists queries between both endpoints. So if I am writing a query on a GraphiQL tab connected to localhost:8080/server1 and I refresh my tab connected to localhost:8080/server2, I see the same query.
This makes it hard to query these related endpoints that expose different graphs :/ Is there a way we can namespace local storage so that the state is separate per path, instead of per origin? Or some other approach?
The text was updated successfully, but these errors were encountered:
We are running a server that has two GraphQL/GraphiQL endpoints. Because GraphiQL seems to be saving UI state in local storage, the storage is namespaced to the origin level, and the UI persists queries between both endpoints. So if I am writing a query on a GraphiQL tab connected to
localhost:8080/server1
and I refresh my tab connected tolocalhost:8080/server2
, I see the same query.This makes it hard to query these related endpoints that expose different graphs :/ Is there a way we can namespace local storage so that the state is separate per path, instead of per origin? Or some other approach?
The text was updated successfully, but these errors were encountered: