Closed grodasgomez closed 3 years ago
Reading from the apollo's docs, I realized that I didn't set any policies to the query
.
Initializing the query in this way:
const queryData = query<T>(graphqlQuery, {errorPolicy: 'none'});
I could get the errors from the response, handling the error in a try/catch
I'm trying to get the errors from the server. The server responds:
So, I have the code that executes the query:
And the console shows:
How I can get the errors property or am I missing something?