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

Version unstable

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.

Version 2021-07 (Release candidate)

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.

Version 2021-04 (Latest)

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.

Version 2021-01

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.

Version 2020-10

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.

Version 2020-07

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.

Version 2020-04

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.

Version 2020-01 (Unsupported)

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.

Version 2019-10 (Unsupported)

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.

Version 2019-07 (Unsupported)

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.

Version 2019-04 (Unsupported)

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.