Closed bleonard closed 7 months ago
+1 for integrating ; i may take a stab at it over the weekend
Has anyone been able to get this working?
Is there any news for this? It would be great to have it bundled.
Was someone able to make this work?
Hi! I don't have plans to investigate adding other GUI clients. You could try adding them by looking in these places:
rake update_graphiql
downloads files and copies them into this project:
Then application.js
(for Sprockets) or the view (for Propshaft) references those files:
The Config class takes user configuration: https://github.com/rmosolgo/graphiql-rails/blob/master/lib/graphiql/rails/config.rb So you could accept a configuration there to choose what editor to render.
Alternatively, you could add a different controller action that shows a different editor: https://github.com/rmosolgo/graphiql-rails/blob/master/app/controllers/graphiql/rails/editors_controller.rb
I hope that helps!
This looks pretty helpful. Any interest in integrating? https://github.com/OneGraph/graphiql-explorer