Find the parent type name (not field) #1135
              
                Unanswered
              
          
                  
                    
                      LunaticMuch
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 1 reply
-
| 
         Hi, I think   | 
  
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.
-
Hi,
I am trying to configure a check in naming convention to verify that all my mutations returns a type which ends with
Payload.However, using
FieldDefinition[parent.name.value=Mutation]does not work, because it would applied to the field name. I tried also withObjectTypeDefinition[parent.name.value=Mutation]but does not work as well.Which option should actually go back to the parent name?
Beta Was this translation helpful? Give feedback.
All reactions