DataFetcherExceptionHandler.onException() is deprecated, but how to replace it with handleException()? #743
-
|
Based on the DGS docs regarding custom exceptions mapping, its recommended to use Maybe the question doesn't belong here but, how can we only use I believe this is a recent graphql library change, some info I found about it Having a look at DGS's |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
We'll need to update the framework to handle this. We did already switch to graphql-java-17, so just a matter of adding the new method in the framework. In the meantime, you can write your own exception handler as well without using the DefaultDataFetcherExceptionHandler and wire that in using the same mechanism. |
Beta Was this translation helpful? Give feedback.
We'll need to update the framework to handle this. We did already switch to graphql-java-17, so just a matter of adding the new method in the framework. In the meantime, you can write your own exception handler as well without using the DefaultDataFetcherExceptionHandler and wire that in using the same mechanism.