Skip to content

Conversation

@rschef
Copy link
Contributor

@rschef rschef commented Nov 24, 2025

Disabling schema introspection in production is common in order to reduce the API’s attack surface, but currently it's not possible to disable field/query suggestions on Absinthe, which can also be used to gain insights into the GraphQL schema.

The proposed solution is to add a maximum_number_of_suggestions option and allow disabling suggestions by setting maximum_number_of_suggestions: 0 as option.

Please let me know if you prefer a boolean field (e.g. disable_suggestion_on_error: true) or have other solutions in mind.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant