Is your feature request related to a problem? Please describe.
Currently, there isn't a good way to specify when subscribeToMore should be disabled with the Composition API.
Describe the solution you'd like
After looking at the docs, there is a skip option in subscribeToMore for the Options API, which is missing in the Composition API.
Describe alternatives you've considered
I've tried putting the subscribeToMore calls behind if statements/watchers in my setup script, but the subscription is still registered. I think this is because I have reactive variables that change, causing the subscribeToMore to automatically rexecute even when I don't want it to. Ideally, I can have reactive query variables that cause the query itself to update when they change, and can still skip the subscriptions separately.
Additional context
No other context for now, I can create a minimal repro a bit later if requested.
Is your feature request related to a problem? Please describe. Currently, there isn't a good way to specify when subscribeToMore should be disabled with the Composition API.
Describe the solution you'd like After looking at the docs, there is a skip option in
subscribeToMore
for the Options API, which is missing in the Composition API.Describe alternatives you've considered I've tried putting the
subscribeToMore
calls behind if statements/watchers in my setup script, but the subscription is still registered. I think this is because I have reactive variables that change, causing the subscribeToMore to automatically rexecute even when I don't want it to. Ideally, I can have reactive query variables that cause the query itself to update when they change, and can still skip the subscriptions separately.Additional context No other context for now, I can create a minimal repro a bit later if requested.