Closed mattduboismatt closed 7 months ago
Hey, sorry you ran into trouble with this! I hope you found something that works for you. I just tried it out again on the latest graphiql-rails and rails and it seemed to work properly.
One thing to remember is that you have to restart your server if you modify initializers.
If anyone runs into this again, please open a new issue.
Hello! I've attempted to set a header with the initializer:
My graphql endpoint looks like this:
Server log when sending the request via GraphiQL:
Do I need to invoke the config? Something else? The header is
nil
. This is a new Rails app with the following versions: Rails: 6.0.2.2 Ruby: 2.7.0 graphiql-rails: 1.7