score:3

Accepted answer
query User {
  user {
    ...userFields
  }
}

fragment userFields on User {
  _id,
  email,
}

score:2

# Query that contains a fragment
query myQuery1($_key: ID!) {
  myQuery1(_key: $_key) {
    field1,
    ...myFragmentFields
    }
  }

# Fragment to be used in queries
fragment myFragmentFields on myQueryType {
    _key,
    name,
    formula,
    type
  }

Related Query

More Query from same tag