Can I pause/resume persisted mutations conditionally? #9351
              
                Unanswered
              
          
                  
                    
                      Oluwadaminiola
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 1 reply
-
| where is the condition set up? | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I’m dealing with a situation where I want to check if a user is authenticated before running a persisted mutation when the app comes back online. Even though I’ve set up a conditional to control this, the mutations still resume immediately once the network is restored, ignoring the auth check.
Has anyone run into this? Any ideas on how to prevent mutations from auto-resuming until the user is confirmed authenticated?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions