graphiql-rails
graphiql-rails copied to clipboard
No such middleware to insert after: ActionDispatch::Static
trafficstars
Bumped from 1.10.1 to 1.10.2 and our application would not start, getting the error
No such middleware to insert after: ActionDispatch::Static
Same error Using Rails 7.0.8.7
Sorry for the trouble -- it must be due to #123. I'll take a look at a fix soon!
Could you try this branch and see if it's fixed for you? #124
gem "graphiql-rails", github: "rmosolgo/graphiql-rails", ref: "use-middleware"
On that branch, I switched insert_after to use so that it's not dependent on there being another ActionDispatch::Static middleware in the stack.