include

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

link GraphQL Schema definition

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

link Require by

This element is not required by anyone