Directives

skip

Directs the executor to skip this field or fragment when the 'if' argument is true.

Directs the executor to skip this field or fragment when the 'if' argument is true.

directive @skip(
  if: Boolean!
) on 
  | FIELD
  | FRAGMENT_SPREAD
  | INLINE_FRAGMENT

Arguments

if ● Boolean! non-null scalar required

Skipped when true.