Skip to content

include

Directs the executor to include this field or fragment only when the `if` argument is true.

Arguments

if · Boolean! · required · Included when true.

Definition

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