Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide our error extensions fields by default #791

Merged
merged 1 commit into from
May 12, 2021
Merged

Hide our error extensions fields by default #791

merged 1 commit into from
May 12, 2021

Conversation

phillip-kruger
Copy link
Member

with an option to show certain fields

You can add smallrye.graphql.errorExtensionFields=exception,classification,code,description,validationErrorType,queryPath to add the known extensions back.

Note, this is only for the extension keys we write. We still need a PR to allow switching of others coming from graphql-java.

Fix #772

Signed-off-by:Phillip Kruger [email protected]

@phillip-kruger phillip-kruger added this to the 1.2.0 milestone May 12, 2021
@phillip-kruger phillip-kruger merged commit a76a3be into smallrye:main May 12, 2021
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.

Stop leaking exception information in errors
1 participant