Directs the executor to include this field or fragment only when the 'if' argument is true.
directive @include( if: Boolean! ) on | FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
if
Boolean!
non-null
scalar
required
Included when true.
deprecated
Marks an element of a GraphQL schema as no longer supported.
skip
Directs the executor to skip this field or fragment when the 'if' argument is true.
On this page