Hey fellas,
i’m using useLazyQuery to login to the server. it was working great until today. It suddenly stopped working. I see a request to the server is being made and I get a response from the server. however, data/error values are still undefined and loading is still true.
const [login, { loading, error, data }] = useLazyQuery(LOGIN, { fetchPolicy: 'no-cache' });
login({ variables: { access_key: values.username, access_secret_key: values.password } });
This is how I use the query inside my code.
setting notifyOnNetworkStatusChange: true
does not solve the issue.
Does anybody have a solution?