Skip to content
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

Fix TS type of called in useLazyQuery #9326

Closed

Conversation

anark
Copy link
Contributor

@anark anark commented Jan 19, 2022

This should fix #9116 and #9102.

Currently the typescript type of called when using useLazyQuery is true however it should be boolean.

@sztadii
Copy link
Contributor

sztadii commented Jan 19, 2022

Duplicated by #9304

@sztadii
Copy link
Contributor

sztadii commented Jan 19, 2022

@anark thanks for your help, but my PR was just merged and it should solve that problem.

@anark
Copy link
Contributor Author

anark commented Jan 19, 2022

@anark thanks for your help, but my PR was just merged and it should solve that problem.

Great! Glad to see this fixed!

@anark anark closed this Jan 19, 2022
@benjamn
Copy link
Member

benjamn commented Jan 19, 2022

Thanks @anark and @sztadii! This will be in the next patch release (likely v3.5.8). I think @brainkim has some other useLazyQuery-related fixes to get in, but we won't let this sit around unreleased.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v3.5: Wrong TS types for useLazyQuery
3 participants