graphql_devise icon indicating copy to clipboard operation
graphql_devise copied to clipboard

Documentation on how to disable introspection

Open nicastelo opened this issue 1 year ago • 1 comments

Hi! I wanted to disable introspection but all I found in the docs was how to put it behind authentication. I found you can completely disable it by doing GraphqlDevise::Schema.disable_introspection_entry_points, so I added some documentation about it. Hope this is something you want to document.

Changes Made

  • Added a new section, Disable Introspection, explaining how to completely disable introspection entry points using the disable_introspection_entry_points method.
  • Updated the Introspection query section to include a reference to the new Disable Introspection section for users who want to completely disable introspection queries.

nicastelo avatar Jul 23 '24 19:07 nicastelo

Hey, @nicastelo! Thank you for your contribution. We need to look into compatibility for graphql versions, but I don't see a reason why we shouldn't add guidance like this. I'll look into this tomorrow

mcelicalderon avatar Jul 25 '24 04:07 mcelicalderon

Thank you, @nicastelo. Sorry it took so long for me to look into this

mcelicalderon avatar Jul 08 '25 18:07 mcelicalderon