Closed koo5 closed 3 years ago
ah:
// Match Apollo's hook approach, by returning a result with three states:
// loading, error, or data (where data could be null / undefined)
export interface Loading {
loading: true;
data?: undefined;
error?: undefined;
}
when a query ends up with a graphql error, nothing shows up in the console. And there isnt
{:catch error}
anymore.