title: AppSync, pass array as an input argument with graphql-tag
body: <p>I'm using appSync with react-native, I have a mutation defined in my schema like this:</p>
  
  <p><a href="https://i.stack.imgur.com/iMbEj.png" rel="nofollow noreferrer">Mutation Definition</a></p>
  
  <p>And it works fine when I test the mutation in the query section</p>
  
  <p><a href="https://i.stack.imgur.com/0YUHc.png" rel="nofollow noreferrer">Test mutation</a></p>
  
  <p>The problem is that I'm not sure how to represent that with graphql-tag, I cannot figure it out how to pass the argument.</p>
  
  <p>This is the representation I got:</p>
  
  <p><a href="https://i.stack.imgur.com/bP2GD.png" rel="nofollow noreferrer">graphql-tag representation</a></p>
  
  <p>This is how I call the mutation:</p>
  
  <p><a href="https://i.stack.imgur.com/2EjKf.png" rel="nofollow noreferrer">Call Mutaiton</a></p>
  
  <p>And this is the query definition, where vitals is and array</p>
  
  <p><a href="https://i.stack.imgur.com/dJAxE.png" rel="nofollow noreferrer">Query definition</a></p>
  
  <p>But the mutation does not execute, it rolls back. I only can see this:</p>
  
  <p><a href="https://i.stack.imgur.com/EYpsE.png" rel="nofollow noreferrer">Mutation execution</a></p>
  
  <p>Anyone can help me out??</p>
  
  <p>Thanks in advance</p>