How to return data and errors? #834
              
                Unanswered
              
          
                  
                    
                      garyrutland
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    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.
-
Hi,
I notice that the library is able to support returning both data and errors but haven't quite seen or figured out how to do it myself?
The error handling docs says to throw either a
UserErrororUserWarningbut if I have a mutation which is doing something in batch it would be good to be able to returndatafor what succeeded anderrorsfor anything that failed.Is this currently possible or would it be a feature request?
Thanks,
Gary
Beta Was this translation helpful? Give feedback.
All reactions