GraphQL
Schema
Scalars
Enums
Objects
Input objects
Directives
REST APIs
Directs the executor to include this field or fragment only when the if argument is true.
if
directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
This element is not required