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 INLINE_FRAGMENT | FRAGMENT_SPREAD | FIELD

link Require by

This element is not required by anyone