Graphql-playground: History and Headers aren't persisted

Created on 6 Dec 2017  路  8Comments  路  Source: graphql/graphql-playground

This issue pertains to:

  • [ ] GraphQL Playground - Electron App
  • [ ] GraphQL Playground
  • [ x ] GraphQL Playground Middleware

What OS and OS version are you experiencing the issue(s) on?

MacOS High Sierra

What version of graphql-playground(-electron/-middleware) are you experience the issue(s) on?

graphql-playground-middleware-koa: 1.3.6

What is the expected behavior?

The previous version we were on persisted the query history and headers when the page was refreshed.

What is the actual behavior?

The headers and history are cleared when the page refreshes. This causes some churn with Authorize headers needing to be set again in the case of the headers clearing. The history also becomes unusable since you can't see your history from previous development sessions.

What steps may we take to reproduce the behavior?

bu2-confirmed

Most helpful comment

Thanks for reporting @danwkennedy !
We will fix it in the coming days!

All 8 comments

I think this is a bit of a deal breaker for people especially if they need to re-enter a Authorization header each time they boot the app.

I haven't taken a look, but we should be able to figure out what broke this feature using a git bisect once we know a previous version where this feature worked.

I believe this is the same as mine https://github.com/graphcool/graphql-playground/issues/312 -- If so, I can the "headers" bit there and we can close this one?

@timsuchanek @sorenbs

Thanks for reporting @danwkennedy !
We will fix it in the coming days!

Hey, I had reported this days before :D

Can't wait for this to be fixed, to be honest.

This should be fixed in 1.3.10 馃帀

Nice! I鈥檒l bump the version in brew cask later if nobody does it before me.

Was this page helpful?
0 / 5 - 0 ratings