You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using useLazyQuery for a user lookup for suggestions, so it's important that requests aren't missed.
The default behaviour it seems is that requests are ignored if one is happening - I would like to cancel running requests and fire the new one.
At the moment if I type "Dominic Tobiaz" and then correct it to "Dominic Tobias", the request will be ignored if the misspelled one is still running.
The useLazyQuery request function sadly is not returning the fetch Promise for me to be able to cancel, nor have I had any luck with fetchPolicy: 'network-only'.
Thanks for any help!
The text was updated successfully, but these errors were encountered:
Hi,
I'm using
useLazyQuery
for a user lookup for suggestions, so it's important that requests aren't missed.The default behaviour it seems is that requests are ignored if one is happening - I would like to cancel running requests and fire the new one.
At the moment if I type "Dominic Tobiaz" and then correct it to "Dominic Tobias", the request will be ignored if the misspelled one is still running.
The
useLazyQuery
request function sadly is not returning the fetch Promise for me to be able to cancel, nor have I had any luck withfetchPolicy: 'network-only'
.Thanks for any help!
The text was updated successfully, but these errors were encountered: