-
Notifications
You must be signed in to change notification settings - Fork 299
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
bug: Cannot disable introspection point due to an error. #2024
Comments
I see same problem and can only enable introspection by setting these properties both to true dgs.graphql.introspection.enabled: true If both are false the same exception as stated above occurs. Setting one of these properties to true and the other to false does not make introspection working for me. dgs-version: 9.1.2 |
Any update? |
I also have this problem, I looked into the configurations: Setting
When running with debug=true:
I only set I guess since DgsSpringGraphQLAutoConfiguration runs before Setting |
Improve handling of introspection properties.
Fixed in #2056 |
Please read our contributor guide before
creating an issue.
Expected behavior
It is expected that setting the dgs.graphql.introspection.enabled=false property will disable introspection.
Actual behavior
The property dgs.graphql.introspection.enabled=false is set but the application returns the following message.
It works correctly if done through the spring property.
Steps to reproduce
I just added the property in my
.properties
file. Anyways I think could be useful specify the versions wich in working with:DGS version 9.1.1
Springboot version 3.3.0
If you have any doubt don't hesite to ask question about it.
Note: A test case would be highly appreciated, but we understand that's not always possible
The text was updated successfully, but these errors were encountered: