-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphiQL can't find it's own assets in Rails 6 #2550
Comments
Same steps work fine in Rails 5.2.3 |
Hi I believe GraphiQL rails is still using sprockets and probably doesn't work with webpacker. I've been working on a PR to make it a Rack app on #1051 , but got stuck a little. Will keep this open as motivation! |
I was unable to reproduce this problem with the instructions above. These are the relevant versions I am using: the body returned by the |
This is an issue with rails-graphiql, not this gem. It should be closed here. cc @rmosolgo I rand into the same problem. I think that gem is not being maintained. There are a couple open issues there about this topic. I switched to graphiql-playground which I'm not a fan of and will soon just mount graphiql directly through package.json which shouldn't be hard to do. |
Yes, this sounds like a problem with graphiql-rails. Sorry I haven't been able to maintain that so well lately :'( In the end, I think it needs to be completely redone or replaced, because the latest version of GraphiQL doesn't work with sprockets. How frustrating ... I guess :S |
Steps to recreate
(Rails 6)
Open up
http://localhost:3000/graphiql
in a browser yields:The text was updated successfully, but these errors were encountered: