Skip to main content

skip Directive

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!​

Skipped when true.