Skip to main content
Version: 4.2.0

include

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

directive @include(
if: Boolean!
)

Arguments

if (Boolean!)

Included when true.