'Is it ok to repeat fields in graphql queries?

query MyQuery {
  capsules {
    missions {
      name
      
    }
    missions {
      name
      flight
    }
  }
}

Can I leave the above as is with no side effects?or should i change it to:

query MyQuery {
  capsules {
    missions {
      name
      flight
    }
  }
}

It all works as it should but I worry about performance on the server-side.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source