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

skip.if ● Boolean! non-null scalar

Skipped when true.

Copyright © 2026