-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In version 3.5.8 or later, useLazyQuery cannot get errors information when using promise #9477
Comments
import { gql, InMemoryCache } from "@apollo/client"; describe("apollo", () => {
}); Versions System: |
resolved by version 3.6.0 thanks! |
In version 3.5.7, errors were passed in the then clause of Promise, but since version 3.5.8, errors are no longer passed in the then clause.
Intended outcome:
That we can get information about errors even in patterns that use promises.
Actual outcome:
useLazyQuery promise does not contain errors information
How to reproduce the issue:
Versions
The text was updated successfully, but these errors were encountered: