Ability to disable GraphQL Explorer endpoint
Proposal
Administrators should be able to disable the GraphQL Explorer endpoint (/-/graphql-explorer
). This should be possible to disable via the UI. GraphQL Explorer is a lightweight version of GraphiQL that allows users to test and submit GraphQL queries.
/-/graphql-explorer
is currently a route that uses the graphiql
gem (linked here). This route should check if the feature is disabled or enabled before mounting.
The administrator UI should present an option to enable or disable.