@skip

The@skipdirective may be provided for fields, fragment spreads, and inline fragments, and allows for conditional exclusion during execution as described by the if argument.

In this exampleexperimentalFieldwill be queried only if the$someTestis provided afalsevalue.

query myQuery($someTest: Boolean) {
  experimentalField @skip(if: $someTest)
}

results matching ""

    No results matching ""