include

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

GraphQL Schema definition

  • directive @include(
  • # Included when true.
  • if: Boolean!
  • ) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT

Require by

This element is not required by anyone