Closed gingermusketeer closed 2 years ago
Awesome, thanks for the improvement!
Great job @gingermusketeer!
@rmosolgo I'm using the master branch just for this feature now. Can we get a release please? Thanks!
+1 I'm also waiting for a new release. thanks! 🙏🏼
For those still waiting for the release here is a quick workaround:
Update your gemfile with:
gem 'graphiql-rails', git: 'https://github.com/rmosolgo/graphiql-rails', branch: 'master'
run:
$ bundle
and then in your config/initializers/graphiql.rb
add the line:
GraphiQL::Rails.config.header_editor_enabled = true
After that you're good to go! 🚀
@bragamat sorry to bother you and thanks for this feature! I followed your instructions but it's still not showing for me. Is there anything else I need to do to get the headers button?
Why: so that headers can be modified for the GraphQL requests. This is handy with custom authentication approaches.