Replies: 1 comment
-
The only way I found so far is to create a custom IntrospectionInterceptor, however, if there would be more elegant solution, it would be great. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to use HotChocolate in my project and would like to give user an opportunity to allow/disallow introspection through an options class. However, I can't use IConfiguration during service registration (legacy reasons, beside I can't know if user wants to add an operation on the options class later in the ConfigureServices method in his Startup class).
The only way I see to disallow introspection is on IRequestExecutionBuilder during service registrations.
Is there a way to allow or disallow introspection after the service provider is build (in Configure method with IApplicationBuilder instance or through a delegate for example?)
Thank you for any reply!
Beta Was this translation helpful? Give feedback.
All reactions