API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

include

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.

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

Locations

  • FIELD
  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT

Arguments

Argument Description
if ( Boolean! ) required

Included when true.