-
Notifications
You must be signed in to change notification settings - Fork 312
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
Document how to configure custom ExecutionStrategy
#832
Comments
I think this is the same case as #552. There we provided the static factory method We could try to take this a step further by facilitating the registration of execution strategies with the the Builder configureExecutionStrategies(BiConsumer<GraphQL.Builder, DataFetcherExceptionHandler> configurer); Or perhaps even a dedicated |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Thank you @rstoyanchev for your response. I'll update our version to take advantage of |
I'll update the title to reflect the actual goal to make it easier to configure a custom |
ExecutionStrategy
On further thought, a callback on I'm turning this into a documentation issue. I'll update the Javadoc and reference docs to make it easy to find. |
ExecutionStrategy
ExecutionStrategy
ExecutionStrategy
ExecutionStrategy
Fixed via aa1ee77 |
org.springframework.graphql.execution.ExceptionResolversExceptionHandler
is package private, and it's not exposed as a Bean. Clearly it's designed that way.I'm trying to extend
graphql.execution.AsyncExecutionStrategy
and overrideto ignore unknown enum values in a class called
IgnoreUnknownEnumValueExecutionStrategy
. But the difficulty, without duplicatingExceptionResolversExceptionHandler
, is I could not inject theExceptionResolversExceptionHandler
instance (which is hidden within the framework) into myIgnoreUnknownEnumValueExecutionStrategy
bean.Please advise if my use case and question is legitimate. Thanks.
The text was updated successfully, but these errors were encountered: