Martin Brehovsky
01/11/2022, 12:16 AMDataFetcherResult
, but I wonder if there is a way to completely fail the response (without any data being present), even though the fields might be nullable. I was looking around in the GraphQL Java Execution, but haven't found anything if there is a way to completely fail a query in the case of a specific error.
However since this is the default policy in the case of non-nullable fields, I believe there must be a mechanism to do this. Any pointer? Thx!Shane Myrick
01/11/2022, 12:56 AMMartin Brehovsky
01/11/2022, 4:41 AMMartin Brehovsky
01/11/2022, 10:03 PMShane Myrick
01/11/2022, 10:08 PMDataFetcherResult
at the top level and just don't set any data, only errorsMartin Brehovsky
01/11/2022, 11:00 PMShane Myrick
01/11/2022, 11:11 PMMartin Brehovsky
01/11/2022, 11:24 PMShane Myrick
01/11/2022, 11:38 PMDataFetcherExceptionHandler
Have you defined a custom handler that is executing to add a response?Shane Myrick
01/11/2022, 11:38 PM