-
-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
Description
For most of my apollo queries, I want the loading indicator appears until data were fetched. But in some special conditions, the loading indicator should be hidden.
In older versions of vue-apollo, I need to add watchLoading
for each query that needs to show loading. I'm glad to see a global watchLoading
was added, but I can't stop it in a single query.
I have readed the source code and found that the watchLoading
be setted in query option was executed before in global provider. Maybe it can return a false
to avoid next step?